0
0
mirror of https://github.com/vim/vim.git synced 2025-09-06 21:53:38 -04:00

patch 8.0.1463: test fails without 'autochdir' option

Problem:    Test fails without 'autochdir' option.
Solution:   Skip test if 'autochdir' is not supported.
This commit is contained in:
Bram Moolenaar 2018-02-03 20:11:40 +01:00
parent f4aba797cb
commit ec48a9c589
2 changed files with 5 additions and 0 deletions

View File

@ -1232,6 +1232,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:")

View File

@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1463,
/**/
1462,
/**/