diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-18 22:43:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-18 22:43:19 +0100 |
commit | 803452046ba6cda7a2896626572eb78b2358c965 (patch) | |
tree | 5fbae9fb7285e48f82ef6e7a56b8747d3673b48a /src/testdir | |
parent | c525e3a1c20f6b5d9809c8b84f80090a8e416c92 (diff) | |
download | vim-803452046ba6cda7a2896626572eb78b2358c965.zip |
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.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_recover.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_recover.vim b/src/testdir/test_recover.vim index aa291b129..33cd54bc5 100644 --- a/src/testdir/test_recover.vim +++ b/src/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 |