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 /src/testdir/test_cd.vim | |
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)
Diffstat (limited to 'src/testdir/test_cd.vim')
-rw-r--r-- | src/testdir/test_cd.vim | 2 |
1 files changed, 2 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() |