test: enable ex_cmds/cd_spec.lua on Windows

This commit is contained in:
Jan Edmund Lazo
2017-11-11 03:14:44 -05:00
parent df99ab461e
commit d80bf3c656
2 changed files with 26 additions and 23 deletions

View File

@@ -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()