mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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())
|
call assert_equal(path, getcwd())
|
||||||
else
|
else
|
||||||
" Test that cd without argument echoes cwd on non-Unix systems.
|
" Test that cd without argument echoes cwd on non-Unix systems.
|
||||||
|
let shellslash = &shellslash
|
||||||
|
set shellslash
|
||||||
call assert_match(getcwd(), execute('cd'))
|
call assert_match(getcwd(), execute('cd'))
|
||||||
|
let &shellslash = shellslash
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user