patch 8.2.1432: various inconsistencies in test files
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695)
diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim
index 39ae32d..bf3f93a 100644
--- a/src/testdir/test_suspend.vim
+++ b/src/testdir/test_suspend.vim
@@ -1,6 +1,6 @@
" Test :suspend
-source shared.vim
+source check.vim
source term_util.vim
func CheckSuspended(buf, fileExists)
@@ -18,9 +18,8 @@
endfunc
func Test_suspend()
- if !has('terminal') || !executable('/bin/sh')
- return
- endif
+ CheckFeature terminal
+ CheckExecutable /bin/sh
let buf = term_start('/bin/sh')
" Wait for shell prompt.
@@ -61,3 +60,5 @@
exe buf . 'bwipe!'
call delete('Xfoo')
endfunc
+
+" vim: shiftwidth=2 sts=2 expandtab