diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-09 20:10:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-09 20:10:17 +0100 |
commit | 3503d7c94a6c8c2a5ca1665d648d0cb81afcc863 (patch) | |
tree | 1084785735f6ed7f60ef12045d016977ae92c377 /src/testdir/test_autochdir.vim | |
parent | b73e439606b55d66d9e81da1f9cae729af37cf04 (diff) |
patch 8.1.2278: using "cd" with "exe" may failv8.1.2278
Problem: Using "cd" with "exe" may fail.
Solution: Use chdir() instead.
Diffstat (limited to 'src/testdir/test_autochdir.vim')
-rw-r--r-- | src/testdir/test_autochdir.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_autochdir.vim b/src/testdir/test_autochdir.vim index 98d1af74fd..1473854c97 100644 --- a/src/testdir/test_autochdir.vim +++ b/src/testdir/test_autochdir.vim @@ -21,6 +21,6 @@ func Test_set_filename() bwipe! au! DirChanged set noacd - exe 'cd ' . cwd + call chdir(cwd) call delete('samples/Xtest') endfunc |