diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-02-02 01:40:51 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-11 15:27:56 +0100 |
commit | 4c83567da3f5dd62845b50b0fbd86dd580ee7aa3 (patch) | |
tree | 7a20843471e62aa583c152ee900a8e256fc3d70a | |
parent | 4c1afd1e83cee67bf447c64f9042331f0ee5d103 (diff) | |
download | rneovim-4c83567da3f5dd62845b50b0fbd86dd580ee7aa3.tar.gz rneovim-4c83567da3f5dd62845b50b0fbd86dd580ee7aa3.tar.bz2 rneovim-4c83567da3f5dd62845b50b0fbd86dd580ee7aa3.zip |
vim-patch:8.0.0338: :recover test fails on MS-Windows
Problem: :recover test fails on MS-Windows.
Solution: Use non-existing directory on MS-Windows.
https://github.com/vim/vim/commit/803452046ba6cda7a2896626572eb78b2358c965
-rw-r--r-- | src/nvim/testdir/test_recover.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_recover.vim b/src/nvim/testdir/test_recover.vim index aa291b1294..33cd54bc5c 100644 --- a/src/nvim/testdir/test_recover.vim +++ b/src/nvim/testdir/test_recover.vim @@ -7,6 +7,10 @@ func Test_recover_root_dir() call assert_fails('recover', 'E305:') close! + if has('win32') + " can write in / directory on MS-Windows + set dir=/notexist/ + endif call assert_fails('split Xtest', 'E303:') set dir& endfunc |