forked from aniani/vim
patch 7.4.2165
Problem: Startup test fails on MS-Windows. Solution: Don't check output if RunVim() returns zero.
This commit is contained in:
@@ -36,7 +36,7 @@ func Test_after_comes_later()
|
||||
call mkdir('Xafter/plugin', 'p')
|
||||
call writefile(['let done = 1'], 'Xafter/plugin/later.vim')
|
||||
|
||||
call RunVim(before, after)
|
||||
if RunVim(before, after)
|
||||
|
||||
let lines = readfile('Xtestout')
|
||||
let expected = ['Xbefore.vim', 'here.vim', 'foo.vim', 'later.vim', 'Xafter.vim']
|
||||
@@ -49,6 +49,7 @@ func Test_after_comes_later()
|
||||
endfor
|
||||
endfor
|
||||
call assert_equal(expected, found)
|
||||
endif
|
||||
|
||||
call delete('Xtestout')
|
||||
call delete('Xhere', 'rf')
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2165,
|
||||
/**/
|
||||
2164,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user