diff options
| author | William Boman <william@redwill.se> | 2023-05-18 17:06:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-18 17:06:38 +0200 |
| commit | 227f8a9aaae495f481c768f8346edfceaf6d2951 (patch) | |
| tree | 8b2dad3c6175fac3c02489690304f759f21b3649 /tests/mason-core/managers/composer_spec.lua | |
| parent | fix(ui): use vim.cmd("") for nvim-0.7.0 compatibility (#1307) (diff) | |
| download | mason-227f8a9aaae495f481c768f8346edfceaf6d2951.tar mason-227f8a9aaae495f481c768f8346edfceaf6d2951.tar.gz mason-227f8a9aaae495f481c768f8346edfceaf6d2951.tar.bz2 mason-227f8a9aaae495f481c768f8346edfceaf6d2951.tar.lz mason-227f8a9aaae495f481c768f8346edfceaf6d2951.tar.xz mason-227f8a9aaae495f481c768f8346edfceaf6d2951.tar.zst mason-227f8a9aaae495f481c768f8346edfceaf6d2951.zip | |
feat(installer): lock package installation (#1290)
Diffstat (limited to 'tests/mason-core/managers/composer_spec.lua')
| -rw-r--r-- | tests/mason-core/managers/composer_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-core/managers/composer_spec.lua b/tests/mason-core/managers/composer_spec.lua index 577becaa..5e5b97ba 100644 --- a/tests/mason-core/managers/composer_spec.lua +++ b/tests/mason-core/managers/composer_spec.lua @@ -14,7 +14,7 @@ describe("composer manager", function() local handle = InstallHandleGenerator "dummy" local ctx = InstallContextGenerator(handle, { version = "42.13.37" }) ctx.fs.file_exists = spy.new(mockx.returns(false)) - installer.prepare_installer(ctx) + installer.prepare_installer(ctx):get_or_throw() installer.exec_in_context( ctx, composer.packages { "main-package", "supporting-package", "supporting-package2" } @@ -41,7 +41,7 @@ describe("composer 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, composer.packages { "main-package", "supporting-package", "supporting-package2" } |
