diff options
| author | William Boman <william@redwill.se> | 2022-12-26 16:35:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-26 16:35:10 +0100 |
| commit | 6ee823248f5fc433018ee800c22eef642e375bd1 (patch) | |
| tree | 7bd52d934e4fb335cf9ef4df32752e28aaa80224 /tests/mason-core/managers/dotnet_spec.lua | |
| parent | refactor(async): error with stack level 0 (#801) (diff) | |
| download | mason-6ee823248f5fc433018ee800c22eef642e375bd1.tar mason-6ee823248f5fc433018ee800c22eef642e375bd1.tar.gz mason-6ee823248f5fc433018ee800c22eef642e375bd1.tar.bz2 mason-6ee823248f5fc433018ee800c22eef642e375bd1.tar.lz mason-6ee823248f5fc433018ee800c22eef642e375bd1.tar.xz mason-6ee823248f5fc433018ee800c22eef642e375bd1.tar.zst mason-6ee823248f5fc433018ee800c22eef642e375bd1.zip | |
refactor(installer): introduce PackageInstallOpts class (#802)
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 ffcbd339..17f7cd3b 100644 --- a/tests/mason-core/managers/dotnet_spec.lua +++ b/tests/mason-core/managers/dotnet_spec.lua @@ -6,7 +6,7 @@ describe("dotnet manager", function() "should call dotnet tool update", async_test(function() local handle = InstallHandleGenerator "dummy" - local ctx = InstallContextGenerator(handle, { requested_version = "42.13.37" }) + local ctx = InstallContextGenerator(handle, { version = "42.13.37" }) 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 { @@ -24,7 +24,7 @@ describe("dotnet manager", function() "should provide receipt information", async_test(function() local handle = InstallHandleGenerator "dummy" - local ctx = InstallContextGenerator(handle, { requested_version = "42.13.37" }) + local ctx = InstallContextGenerator(handle, { version = "42.13.37" }) installer.exec_in_context(ctx, dotnet.package "main-package") assert.same({ type = "dotnet", |
