Permalink
Browse files

patch 7.4.2184

Problem:    Tests that use RunVim() do not actually perform the test.
Solution:   Use "return" instead of "call". (Ken Takata)
  • Loading branch information...
1 parent 09de175 commit 7a9a5f4019ce332cb11ce5370e3fa609299ce737 @brammool brammool committed Aug 8, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/shared.vim
  2. +2 −0 src/version.c
@@ -130,7 +130,7 @@ endfunc
" Plugins are not loaded, unless 'loadplugins' is set in "before".
" Return 1 if Vim could be executed.
func RunVim(before, after, arguments)
- call RunVimPiped(a:before, a:after, a:arguments, '')
+ return RunVimPiped(a:before, a:after, a:arguments, '')
endfunc
func RunVimPiped(before, after, arguments, pipecmd)
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2184,
+/**/
2183,
/**/
2182,

0 comments on commit 7a9a5f4

Please sign in to comment.