From 6848c8b561e6c35a3e646c99a82e03c4aa5def92 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 22 Sep 2013 15:03:38 +0200 Subject: 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) --- src/testdir/test1.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/testdir/test1.in') diff --git a/src/testdir/test1.in b/src/testdir/test1.in index c175fa590e..735d539673 100644 --- a/src/testdir/test1.in +++ b/src/testdir/test1.in @@ -18,6 +18,10 @@ Similar logic is applied to the +mzscheme feature, using mzscheme.vim. 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 -- cgit v1.2.3