1
0
forked from aniani/vim

patch 8.2.3737: test fails without the 'autochdir' option

Problem:    Test fails without the 'autochdir' option.
Solution:   Check that the option is available. (Dominique Pellé, closes #9272)
This commit is contained in:
Dominique Pelle
2021-12-04 15:12:40 +00:00
committed by Bram Moolenaar
parent 853a7692d1
commit 8dea145e39
2 changed files with 4 additions and 0 deletions

View File

@@ -226,6 +226,8 @@ func Test_cd_unknown_dir()
endfunc
func Test_getcwd_actual_dir()
CheckOption autochdir
let startdir = getcwd()
call mkdir('Xactual')
call test_autochdir()

View File

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