aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cd.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-07 03:43:36 +0200
committerGitHub <noreply@github.com>2019-04-07 03:43:36 +0200
commit805b5f2e1ec074648e2142c1eaab1d2c089aa58d (patch)
tree64a3405bbc6c28580507d4de4a281932f719f7e5 /src/nvim/testdir/test_cd.vim
parentcf072cf223287d37c1c59926ff4600d249e1522c (diff)
parent4d6e99c94913676cc7a6581c13579e5f9fbe26c5 (diff)
downloadrneovim-805b5f2e1ec074648e2142c1eaab1d2c089aa58d.tar.gz
rneovim-805b5f2e1ec074648e2142c1eaab1d2c089aa58d.tar.bz2
rneovim-805b5f2e1ec074648e2142c1eaab1d2c089aa58d.zip
Merge #9840 from janlazo/vim-8.0.0709
vim-patch:8.0.{709,728},8.1.{135,308}
Diffstat (limited to 'src/nvim/testdir/test_cd.vim')
-rw-r--r--src/nvim/testdir/test_cd.vim3
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