mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.1463: test fails without 'autochdir' option
Problem: Test fails without 'autochdir' option.
Solution: Skip test if 'autochdir' is not supported.
ec48a9c589
This commit is contained in:
parent
920473d2f2
commit
eed89d5e0c
@ -1369,6 +1369,9 @@ function Test_dirchanged_local()
|
||||
endfunc
|
||||
|
||||
function Test_dirchanged_auto()
|
||||
if !exists('+autochdir')
|
||||
return
|
||||
endif
|
||||
call s:Before_test_dirchanged()
|
||||
call test_autochdir()
|
||||
autocmd test_dirchanged DirChanged auto call add(s:li, "auto:")
|
||||
|
Loading…
Reference in New Issue
Block a user