forked from aniani/vim
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:
@@ -1232,6 +1232,9 @@ function Test_dirchanged_local()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
function Test_dirchanged_auto()
|
function Test_dirchanged_auto()
|
||||||
|
if !exists('+autochdir')
|
||||||
|
return
|
||||||
|
endif
|
||||||
call s:Before_test_dirchanged()
|
call s:Before_test_dirchanged()
|
||||||
call test_autochdir()
|
call test_autochdir()
|
||||||
autocmd test_dirchanged DirChanged auto call add(s:li, "auto:")
|
autocmd test_dirchanged DirChanged auto call add(s:li, "auto:")
|
||||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1463,
|
||||||
/**/
|
/**/
|
||||||
1462,
|
1462,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user