1
0
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:
Bram Moolenaar
2016-08-06 19:16:43 +02:00
parent 66459b7c98
commit 83b3c3d8a0
2 changed files with 14 additions and 11 deletions

View File

@@ -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')

View File

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