aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/managers/go_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mason-core/managers/go_spec.lua')
-rw-r--r--tests/mason-core/managers/go_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mason-core/managers/go_spec.lua b/tests/mason-core/managers/go_spec.lua
index 6a7f0a9c..5ca1bfb8 100644
--- a/tests/mason-core/managers/go_spec.lua
+++ b/tests/mason-core/managers/go_spec.lua
@@ -13,6 +13,7 @@ describe("go manager", function()
async_test(function()
local handle = InstallHandleGenerator "dummy"
local ctx = InstallContextGenerator(handle, { version = "42.13.37" })
+ installer.prepare_installer(ctx)
installer.exec_in_context(ctx, go.packages { "main-package", "supporting-package", "supporting-package2" })
assert.spy(ctx.spawn.go).was_called(3)
assert.spy(ctx.spawn.go).was_called_with {
@@ -41,6 +42,7 @@ describe("go manager", function()
async_test(function()
local handle = InstallHandleGenerator "dummy"
local ctx = InstallContextGenerator(handle, { version = "42.13.37" })
+ installer.prepare_installer(ctx)
installer.exec_in_context(ctx, go.packages { "main-package", "supporting-package", "supporting-package2" })
assert.same({
type = "go",