mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +00:00
oldtests: set shellslash for ":cd" test
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user