Skip to content

Commit 8034520

Browse files
committed
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.
1 parent c525e3a commit 8034520

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/testdir/test_recover.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ func Test_recover_root_dir()
77
call assert_fails('recover', 'E305:')
88
close!
99

10+
if has('win32')
11+
" can write in / directory on MS-Windows
12+
set dir=/notexist/
13+
endif
1014
call assert_fails('split Xtest', 'E303:')
1115
set dir&
1216
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
338,
767769
/**/
768770
337,
769771
/**/

0 commit comments

Comments
 (0)