mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.0338: :recover test fails on MS-Windows
Problem: :recover test fails on MS-Windows.
Solution: Use non-existing directory on MS-Windows.
803452046b
This commit is contained in:
parent
4c1afd1e83
commit
4c83567da3
@ -7,6 +7,10 @@ func Test_recover_root_dir()
|
|||||||
call assert_fails('recover', 'E305:')
|
call assert_fails('recover', 'E305:')
|
||||||
close!
|
close!
|
||||||
|
|
||||||
|
if has('win32')
|
||||||
|
" can write in / directory on MS-Windows
|
||||||
|
set dir=/notexist/
|
||||||
|
endif
|
||||||
call assert_fails('split Xtest', 'E303:')
|
call assert_fails('split Xtest', 'E303:')
|
||||||
set dir&
|
set dir&
|
||||||
endfunc
|
endfunc
|
||||||
|
Loading…
Reference in New Issue
Block a user