diff options
Diffstat (limited to 'src/testdir/test_balloon.vim')
-rw-r--r-- | src/testdir/test_balloon.vim | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/testdir/test_balloon.vim b/src/testdir/test_balloon.vim index 39c2602be6..37fc57eb5c 100644 --- a/src/testdir/test_balloon.vim +++ b/src/testdir/test_balloon.vim @@ -1,11 +1,15 @@ " Tests for 'balloonevalterm'. -" Tests that only work in the terminal. -if has('balloon_eval_term') && !has('gui_running') +if !has('balloon_eval_term') + throw 'Skipped: balloon_eval_term feature missing' +endif + +" A few tests only work in the terminal. +if !has('gui_running') source screendump.vim if !CanRunVimInTerminal() - finish + throw 'Skipped: cannot run Vim in a terminal window' endif let s:common_script =<< [CODE] |