diff options
| author | William Boman <william@redwill.se> | 2025-05-02 03:52:10 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2025-05-02 03:57:07 +0200 |
| commit | 4da89f3ab04783da990f9bd40aaa36c22e59375b (patch) | |
| tree | bb672a1bd796a6adf3d04473cb66a3e90be00707 /tests/mason-core/installer/linker_spec.lua | |
| parent | feat(ui): display purl information (diff) | |
| download | mason-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/installer/linker_spec.lua')
| -rw-r--r-- | tests/mason-core/installer/linker_spec.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/mason-core/installer/linker_spec.lua b/tests/mason-core/installer/linker_spec.lua index 2177f6a3..6bf63a14 100644 --- a/tests/mason-core/installer/linker_spec.lua +++ b/tests/mason-core/installer/linker_spec.lua @@ -40,7 +40,6 @@ describe("linker", function() end) it("should symlink executable on Unix", function() - local dummy = registry.get_package "dummy" local ctx = test_helpers.create_context() stub(fs.async, "file_exists") @@ -70,7 +69,6 @@ describe("linker", function() end) it("should write executable wrapper on Windows", function() - local dummy = registry.get_package "dummy" local ctx = test_helpers.create_context() platform.is.darwin = false @@ -110,7 +108,6 @@ describe("linker", function() end) it("should symlink share files", function() - local dummy = registry.get_package "dummy" local ctx = test_helpers.create_context() stub(fs.async, "mkdirp") @@ -150,7 +147,6 @@ describe("linker", function() end) it("should copy share files on Windows", function() - local dummy = registry.get_package "dummy" local ctx = test_helpers.create_context() platform.is.darwin = false |
