aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/package/package_spec.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2025-05-02 03:52:10 +0200
committerWilliam Boman <william@redwill.se>2025-05-02 03:57:07 +0200
commit4da89f3ab04783da990f9bd40aaa36c22e59375b (patch)
treebb672a1bd796a6adf3d04473cb66a3e90be00707 /tests/mason-core/package/package_spec.lua
parentfeat(ui): display purl information (diff)
downloadmason-4da89f3ab04783da990f9bd40aaa36c22e59375b.tar
mason-4da89f3ab04783da990f9bd40aaa36c22e59375b.tar.gz
mason-4da89f3ab04783da990f9bd40aaa36c22e59375b.tar.bz2
mason-4da89f3ab04783da990f9bd40aaa36c22e59375b.tar.lz
mason-4da89f3ab04783da990f9bd40aaa36c22e59375b.tar.xz
mason-4da89f3ab04783da990f9bd40aaa36c22e59375b.tar.zst
mason-4da89f3ab04783da990f9bd40aaa36c22e59375b.zip
refactor(registry): change lua registries to not instantiate Package themselves
Instead of having Lua registries instantiate package instances themselves we now do it in the installer of Lua registry sources. This aligns the behaviour of the Lua registry protocol with the other registry protocols.
Diffstat (limited to 'tests/mason-core/package/package_spec.lua')
-rw-r--r--tests/mason-core/package/package_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-core/package/package_spec.lua b/tests/mason-core/package/package_spec.lua
index 5f69ea4e..8d1929d8 100644
--- a/tests/mason-core/package/package_spec.lua
+++ b/tests/mason-core/package/package_spec.lua
@@ -42,8 +42,8 @@ describe("Package ::", function()
name = "Package name",
description = "Package description",
homepage = "https://example.com",
- categories = { Pkg.Cat.LSP },
- languages = { Pkg.Lang.Rust },
+ categories = { "LSP" },
+ languages = { "Rust" },
licenses = {},
source = {
id = "pkg:mason/package@1",