mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
vim-patch:8.2.3737: test fails without the 'autochdir' option (#21529)
Problem: Test fails without the 'autochdir' option.
Solution: Check that the option is available. (Dominique Pellé, closes vim/vim#9272)
8dea145e39
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
This commit is contained in:
parent
9be24110f6
commit
6f25623e79
@ -233,6 +233,8 @@ endfunc
|
||||
|
||||
func Test_getcwd_actual_dir()
|
||||
CheckFunction test_autochdir
|
||||
CheckOption autochdir
|
||||
|
||||
let startdir = getcwd()
|
||||
call mkdir('Xactual')
|
||||
call test_autochdir()
|
||||
|
Loading…
Reference in New Issue
Block a user