aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-12 05:08:19 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-01-13 01:17:12 +0100
commit82edcb593b19755187371635d7b5aabdf024bd1f (patch)
treeefada372ffe9974c969faab3c0ff6b6555bc27e5 /test/functional/helpers.lua
parentcc7f1aba46716cf509ca784840d6e77f7bfb2318 (diff)
downloadrneovim-82edcb593b19755187371635d7b5aabdf024bd1f.tar.gz
rneovim-82edcb593b19755187371635d7b5aabdf024bd1f.tar.bz2
rneovim-82edcb593b19755187371635d7b5aabdf024bd1f.zip
Windows: enable more tests
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 5eec3afe65..2939184d2c 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -346,6 +346,14 @@ local function source(code)
return fname
end
+local function set_shell_powershell()
+ source([[
+ set shell=powershell shellquote=\" shellpipe=\| shellredir=>
+ set shellcmdflag=\ -ExecutionPolicy\ RemoteSigned\ -Command
+ let &shellxquote=' '
+ ]])
+end
+
local function nvim(method, ...)
return request('nvim_'..method, ...)
end
@@ -590,6 +598,7 @@ return function(after_each)
curtabmeths = curtabmeths,
pending_win32 = pending_win32,
skip_fragile = skip_fragile,
+ set_shell_powershell = set_shell_powershell,
tmpname = tmpname,
NIL = mpack.NIL,
}