diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-04-05 21:37:03 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-04-05 22:57:08 -0400 |
commit | eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a (patch) | |
tree | 57441a1dc384273aa91347ed0094fa2c27879560 /src | |
parent | e2f845632d68835dacccd477fd6c6a23e2da1249 (diff) | |
download | rneovim-eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.tar.gz rneovim-eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.tar.bz2 rneovim-eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.zip |
oldtests: set shellslash for ":cd" test
Diffstat (limited to 'src')
-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 |