diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-12-04 15:12:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-04 15:12:40 +0000 |
commit | 8dea145e39a2569153cb63487d3403a46a882189 (patch) | |
tree | c4e8422a995ee5029af54f9aad0e728b79c19132 | |
parent | 853a7692d19deb6b7c2cabce989b57c8b9908596 (diff) | |
download | vim-git-8dea145e39a2569153cb63487d3403a46a882189.tar.gz |
patch 8.2.3737: test fails without the 'autochdir' optionv8.2.3737
Problem: Test fails without the 'autochdir' option.
Solution: Check that the option is available. (Dominique Pellé, closes #9272)
-rw-r--r-- | src/testdir/test_cd.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim index 81ed491ea..566e9f6ba 100644 --- a/src/testdir/test_cd.vim +++ b/src/testdir/test_cd.vim @@ -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() diff --git a/src/version.c b/src/version.c index 02743239f..f1d0e878c 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3737, +/**/ 3736, /**/ 3735, |