diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-09-22 15:03:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-09-22 15:03:38 +0200 |
commit | 6848c8b561e6c35a3e646c99a82e03c4aa5def92 (patch) | |
tree | 36426e7adbd59da81bcf588923d8998966d51d1e /src/testdir/test1.in | |
parent | baca7f705babaa1caeb0bce7f63f6275feca6641 (diff) |
updated for version 7.4.033v7.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)
Diffstat (limited to 'src/testdir/test1.in')
-rw-r--r-- | src/testdir/test1.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 |