mirror of
https://github.com/vim/vim.git
synced 2025-09-10 22:33:40 -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:
parent
f4aba797cb
commit
ec48a9c589
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user