diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-03 20:11:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-03 20:11:40 +0100 |
commit | ec48a9c58989babcad23d73483955f35b6e41492 (patch) | |
tree | 8e1215c2a6e3c29f95afb6756dd3ac5b10ab42a3 /src/testdir/test_autocmd.vim | |
parent | f4aba797cb57d6d5b3b491bd5ae2c0b40e07baaf (diff) | |
download | vim-git-ec48a9c58989babcad23d73483955f35b6e41492.tar.gz |
patch 8.0.1463: test fails without 'autochdir' optionv8.0.1463
Problem: Test fails without 'autochdir' option.
Solution: Skip test if 'autochdir' is not supported.
Diffstat (limited to 'src/testdir/test_autocmd.vim')
-rw-r--r-- | src/testdir/test_autocmd.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index c504f704f..065ac4e29 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -1232,6 +1232,9 @@ function Test_dirchanged_local() endfunc function Test_dirchanged_auto() + if !exists('+autochdir') + return + endif call s:Before_test_dirchanged() call test_autochdir() autocmd test_dirchanged DirChanged auto call add(s:li, "auto:") |