From eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 5 Apr 2019 21:37:03 -0400 Subject: oldtests: set shellslash for ":cd" test --- src/nvim/testdir/test_cd.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit