patch 8.1.1826: tests use hand coded feature and option checks
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
diff --git a/src/testdir/test_balloon.vim b/src/testdir/test_balloon.vim
index 796cb23..e4ee855 100644
--- a/src/testdir/test_balloon.vim
+++ b/src/testdir/test_balloon.vim
@@ -1,17 +1,12 @@
" Tests for 'balloonevalterm'.
" A few tests only work in the terminal.
-if has('gui_running')
- throw 'Skipped: only work in the terminal'
-endif
-
source check.vim
+CheckNotGui
CheckFeature balloon_eval_term
source screendump.vim
-if !CanRunVimInTerminal()
- throw 'Skipped: cannot make screendumps'
-endif
+CheckScreendump
let s:common_script =<< trim [CODE]
call setline(1, ["one one one", "two tXo two", "three three three"])