diff options
Diffstat (limited to 'tests/mason-core/managers/dotnet_spec.lua')
| -rw-r--r-- | tests/mason-core/managers/dotnet_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-core/managers/dotnet_spec.lua b/tests/mason-core/managers/dotnet_spec.lua index 441b6a97..b6e0f8c0 100644 --- a/tests/mason-core/managers/dotnet_spec.lua +++ b/tests/mason-core/managers/dotnet_spec.lua @@ -7,7 +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.prepare_installer(ctx):get_or_throw() 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 { @@ -27,7 +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.prepare_installer(ctx):get_or_throw() installer.exec_in_context(ctx, dotnet.package "main-package") assert.same({ type = "dotnet", |
