From d80bf3c656cc4b64005cbc149a764a5c238203ad Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 11 Nov 2017 03:14:44 -0500 Subject: test: enable ex_cmds/cd_spec.lua on Windows --- test/functional/helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/helpers.lua') 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() -- cgit