aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-07-25 06:05:31 +0200
committerDaniel Hahler <git@thequod.de>2019-07-26 21:45:24 +0200
commit53d1801b4913b6c459ec706bcb453128cf691e5f (patch)
treea5effbb7a8c367d76ea2bf92a1e32371b512611f /test/functional/helpers.lua
parent2906c702f9cd96ebcb30067931bb5ee9483b0e48 (diff)
downloadrneovim-53d1801b4913b6c459ec706bcb453128cf691e5f.tar.gz
rneovim-53d1801b4913b6c459ec706bcb453128cf691e5f.tar.bz2
rneovim-53d1801b4913b6c459ec706bcb453128cf691e5f.zip
tests: win: fix "cat" with PowerShell
Ref: https://github.com/neovim/neovim/pull/10580#issuecomment-514884092
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 2571db99e4..ce7d348747 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -496,7 +496,7 @@ end
local function set_shell_powershell()
source([[
set shell=powershell shellquote=( shellpipe=\| shellredir=> shellxquote=
- let &shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command Remove-Item -Force alias:sleep;'
+ let &shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command Remove-Item -Force alias:sleep; Remove-Item -Force alias:cat;'
]])
end