diff src/testdir/test_startup.vim @ 9796:1f1ed7959860 v7.4.2173

commit https://github.com/vim/vim/commit/3321e9d8a36c91c62d8ba3d43430b5c213b87f8b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 6 23:03:59 2016 +0200 patch 7.4.2173 Problem: Can't test help on MS-Windows. Solution: Skip the test.
author Christian Brabandt <cb@256bit.org>
date Sat, 06 Aug 2016 23:15:05 +0200
parents fd32f719d34f
children 4ef933b816e7
line wrap: on
line diff
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -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)