oldtests: set shellslash for ":cd" test

This commit is contained in:
Jan Edmund Lazo 2019-04-05 21:37:03 -04:00
parent e2f845632d
commit eba1ebafe5

View File

@ -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