diff options
-rw-r--r-- | src/nvim/testdir/test_cd.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cd.vim b/src/nvim/testdir/test_cd.vim index 770ed55b8d..4436ebbf31 100644 --- a/src/nvim/testdir/test_cd.vim +++ b/src/nvim/testdir/test_cd.vim @@ -24,7 +24,10 @@ func Test_cd_no_arg() call assert_equal(path, getcwd()) else " Test that cd without argument echoes cwd on non-Unix systems. + let shellslash = &shellslash + set shellslash call assert_match(getcwd(), execute('cd')) + let &shellslash = shellslash endif endfunc |