aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/managers/dotnet_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mason-core/managers/dotnet_spec.lua')
-rw-r--r--tests/mason-core/managers/dotnet_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mason-core/managers/dotnet_spec.lua b/tests/mason-core/managers/dotnet_spec.lua
index df3f5386..e61bebb8 100644
--- a/tests/mason-core/managers/dotnet_spec.lua
+++ b/tests/mason-core/managers/dotnet_spec.lua
@@ -7,6 +7,7 @@ describe("dotnet 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, dotnet.package "main-package")
assert.spy(ctx.spawn.dotnet).was_called(1)
assert.spy(ctx.spawn.dotnet).was_called_with {
@@ -26,6 +27,7 @@ describe("dotnet 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, dotnet.package "main-package")
assert.same({
type = "dotnet",