updated for version 7.4.033
Problem: When the terminal has only 20 lines test 92 and 93 overwrite the
input file.
Solution: Explicitly write test.out. Check that the terminal is large enough
to run the tests. (Hirohito Higashi)
diff --git a/src/testdir/test1.in b/src/testdir/test1.in
index c175fa5..735d539 100644
--- a/src/testdir/test1.in
+++ b/src/testdir/test1.in
@@ -18,6 +18,10 @@
Similar logic is applied to the +lua feature, using lua.vim.
STARTTEST
+:" If columns or lines are too small, create wrongtermsize.
+:" (Some tests will fail. When columns and/or lines are small)
+:if &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
+:"
:" Write a single line to test.out to check if testing works at all.
:%d
athis is a test:w! test.out