Permalink
Browse files

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.
  • Loading branch information...
brammool committed Feb 18, 2017
1 parent c525e3a commit 803452046ba6cda7a2896626572eb78b2358c965
Showing with 6 additions and 0 deletions.
  1. +4 −0 src/testdir/test_recover.vim
  2. +2 −0 src/version.c
@@ -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
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 338,
/**/
337,
/**/

0 comments on commit 8034520

Please sign in to comment.