aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2017-11-11 03:14:44 -0500
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-02-19 07:10:46 -0500
commitd80bf3c656cc4b64005cbc149a764a5c238203ad (patch)
treed26db5d99a284f5aea25ec313677c5e7537ba48c /test/functional/helpers.lua
parentdf99ab461ee2a515b82b53573de741b6d2024644 (diff)
downloadrneovim-d80bf3c656cc4b64005cbc149a764a5c238203ad.tar.gz
rneovim-d80bf3c656cc4b64005cbc149a764a5c238203ad.tar.bz2
rneovim-d80bf3c656cc4b64005cbc149a764a5c238203ad.zip
test: enable ex_cmds/cd_spec.lua on Windows
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 a1da55ab1c..1f53200dd8 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -641,7 +641,7 @@ local function redir_exec(cmd)
end
local function get_pathsep()
- return funcs.fnamemodify('.', ':p'):sub(-1)
+ return iswin() and '\\' or '/'
end
local function pathroot()