summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vimscript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_vimscript.vim')
-rw-r--r--src/testdir/test_vimscript.vim7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim
index 501a57ba12..cf2c961be0 100644
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -1,6 +1,8 @@
" Test various aspects of the Vim script language.
" Most of this was formerly in test49.
+source check.vim
+
"-------------------------------------------------------------------------------
" Test environment {{{1
"-------------------------------------------------------------------------------
@@ -1677,10 +1679,7 @@ func Test_funccall_garbage_collect()
endfunc
func Test_function_defined_line()
- if has('gui_running')
- " Can't catch the output of gvim.
- return
- endif
+ CheckNotGui
let lines =<< trim [CODE]
" F1