comparison src/testdir/runtest.vim @ 17091:d30d399139ab v8.1.1545

patch 8.1.1545: when the screen is to small there is no message about that commit https://github.com/vim/vim/commit/45aa07d3c126e887c614f8a4ebdb88aed673a9f1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 15 18:20:38 2019 +0200 patch 8.1.1545: when the screen is to small there is no message about that Problem: When the screen is to small there is no message about that. (Daniel Hahler) Solution: Do not use :cquit. (closes #4534)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 18:30:07 +0200
parents 84f308b126de
children efc6f5e3b543
comparison
equal deleted inserted replaced
17090:ed03dd99ea37 17091:d30d399139ab
36 if &lines < 24 || &columns < 80 36 if &lines < 24 || &columns < 80
37 let error = 'Screen size too small! Tests require at least 24 lines with 80 characters' 37 let error = 'Screen size too small! Tests require at least 24 lines with 80 characters'
38 echoerr error 38 echoerr error
39 split test.log 39 split test.log
40 $put =error 40 $put =error
41 w 41 write
42 cquit 42 split messages
43 call append(line('$'), error)
44 write
45 qa!
43 endif 46 endif
44 47
45 if has('reltime') 48 if has('reltime')
46 let s:start_time = reltime() 49 let s:start_time = reltime()
47 endif 50 endif