diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-31 14:21:57 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-31 15:11:08 -0500 |
commit | 1836853955e51efbaf4aba7dec0718e51747b418 (patch) | |
tree | f9e4ddbe24b3becf0844682e144d5b3ec20d58df /test/functional/ui/output_spec.lua | |
parent | e922576bdd6abd6736417343121120b289079565 (diff) | |
download | rneovim-1836853955e51efbaf4aba7dec0718e51747b418.tar.gz rneovim-1836853955e51efbaf4aba7dec0718e51747b418.tar.bz2 rneovim-1836853955e51efbaf4aba7dec0718e51747b418.zip |
ci: test powershell core on Linux
Diffstat (limited to 'test/functional/ui/output_spec.lua')
-rw-r--r-- | test/functional/ui/output_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua index 9b1e803649..d7dde6345f 100644 --- a/test/functional/ui/output_spec.lua +++ b/test/functional/ui/output_spec.lua @@ -10,6 +10,7 @@ local iswin = helpers.iswin local clear = helpers.clear local command = helpers.command local nvim_dir = helpers.nvim_dir +local has_powershell = helpers.has_powershell local set_shell_powershell = helpers.set_shell_powershell describe("shell command :!", function() @@ -228,7 +229,7 @@ describe("shell command :!", function() ]]) end) end) - if iswin() or eval('executable("pwsh")') == 1 then + if has_powershell() then it('powershell supports literal strings', function() set_shell_powershell() local screen = Screen.new(30, 4) |