From 4da89f3ab04783da990f9bd40aaa36c22e59375b Mon Sep 17 00:00:00 2001 From: William Boman Date: Fri, 2 May 2025 03:52:10 +0200 Subject: 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. --- tests/mason-core/package/package_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/mason-core/package/package_spec.lua') 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", -- cgit v1.2.3-70-g09d2