1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2017-02-18 22:43:19 +01:00
parent c525e3a1c2
commit 803452046b
2 changed files with 6 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ func Test_recover_root_dir()
call assert_fails('recover', 'E305:') call assert_fails('recover', 'E305:')
close! close!
if has('win32')
" can write in / directory on MS-Windows
set dir=/notexist/
endif
call assert_fails('split Xtest', 'E303:') call assert_fails('split Xtest', 'E303:')
set dir& set dir&
endfunc endfunc

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
338,
/**/ /**/
337, 337,
/**/ /**/