mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
oldtests: set shellslash for ":cd" test
This commit is contained in:
parent
e2f845632d
commit
eba1ebafe5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user