diff options
Diffstat (limited to 'tests/mason-core/managers/powershell_spec.lua')
| -rw-r--r-- | tests/mason-core/managers/powershell_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mason-core/managers/powershell_spec.lua b/tests/mason-core/managers/powershell_spec.lua index 46e096bf..b8facacb 100644 --- a/tests/mason-core/managers/powershell_spec.lua +++ b/tests/mason-core/managers/powershell_spec.lua @@ -31,7 +31,9 @@ describe("powershell manager", function() stub(vim.fn, "executable") vim.fn.executable.on_call_with("pwsh").returns(0) - powershell().command "echo 'Is this bash?'" + local powershell = powershell() + a.scheduler() + powershell.command "echo 'Is this bash?'" assert.spy(spawn.pwsh).was_called(0) assert.spy(spawn.powershell).was_called(1) |
