]> granicus.if.org Git - vim/commitdiff
patch 7.4.2184 v7.4.2184
authorBram Moolenaar <Bram@vim.org>
Mon, 8 Aug 2016 20:34:14 +0000 (22:34 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 8 Aug 2016 20:34:14 +0000 (22:34 +0200)
Problem:    Tests that use RunVim() do not actually perform the test.
Solution:   Use "return" instead of "call". (Ken Takata)

src/testdir/shared.vim
src/version.c

index aba428a46d3e216583cfc88f21eeb8774b880383..edc3c386a8dff4802c7f0d84c8f9a2b67f8c2f04 100644 (file)
@@ -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)
index 23819b198538f48b1853492acac5283cc7abbaa0..bb34f29ed2a50778ccd301d9722ed5ee85950d95 100644 (file)
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2184,
 /**/
     2183,
 /**/