diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-01 06:36:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-01 06:36:10 -0800 |
commit | a251b588acb3a561e5da695280774b9b6fbcd0ea (patch) | |
tree | e361e0c201d04c304e5c188bf7a9f295a318c0d2 /test/functional/ui/output_spec.lua | |
parent | 070bd3ea231b6b98c9e9f1057fdbcf31d1877a70 (diff) | |
parent | 0da7774cf0e503efc93c15033a94ff756d5252e1 (diff) | |
download | rneovim-a251b588acb3a561e5da695280774b9b6fbcd0ea.tar.gz rneovim-a251b588acb3a561e5da695280774b9b6fbcd0ea.tar.bz2 rneovim-a251b588acb3a561e5da695280774b9b6fbcd0ea.zip |
Merge #11642 'CI: test powershell core'
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) |