From a01d02ad7f680aec98a1e2ec35b04cedd307cfa8 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 12 Mar 2023 08:21:15 +0100 Subject: feat: add github registry source capabilities (#1091) --- tests/mason-core/managers/powershell_spec.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/mason-core/managers/powershell_spec.lua') 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) -- cgit v1.2.3-70-g09d2