]> granicus.if.org Git - vim/commitdiff
patch 7.4.2173 v7.4.2173
authorBram Moolenaar <Bram@vim.org>
Sat, 6 Aug 2016 21:03:59 +0000 (23:03 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 6 Aug 2016 21:03:59 +0000 (23:03 +0200)
Problem:    Can't test help on MS-Windows.
Solution:   Skip the test.

src/testdir/test_startup.vim
src/version.c

index d2463f476dc72ad12706c4ea223f0ebd3be7cef5..f21f4c35bee1b0ec3b59851c9081780fbd469b06 100644 (file)
@@ -62,6 +62,10 @@ func Test_after_comes_later()
 endfunc
 
 func Test_help_arg()
+  if !has('unix') && has('gui')
+    " this doesn't work with gvim on MS-Windows
+    return
+  endif
   if RunVim([], [], '--help >Xtestout')
     let lines = readfile('Xtestout')
     call assert_true(len(lines) > 20)
index a7af2939fa57f894f0386179fe809cfe56895a4e..9cf031bdff334185d656f4ae6ccaca07c368ec92 100644 (file)
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2173,
 /**/
     2172,
 /**/