Skip to content

Commit 7a9a5f4

Browse files
committed
patch 7.4.2184
Problem: Tests that use RunVim() do not actually perform the test. Solution: Use "return" instead of "call". (Ken Takata)
1 parent 09de175 commit 7a9a5f4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/shared.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ endfunc
130130
" Plugins are not loaded, unless 'loadplugins' is set in "before".
131131
" Return 1 if Vim could be executed.
132132
func RunVim(before, after, arguments)
133-
call RunVimPiped(a:before, a:after, a:arguments, '')
133+
return RunVimPiped(a:before, a:after, a:arguments, '')
134134
endfunc
135135

136136
func RunVimPiped(before, after, arguments, pipecmd)

src/version.c

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

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2184,
766768
/**/
767769
2183,
768770
/**/

0 commit comments

Comments
 (0)