0
0
mirror of https://github.com/vim/vim.git synced 2025-10-15 07:14:09 -04:00

patch 8.2.0432: a few tests fail in a huge terminal

Problem:    A few tests fail in a huge terminal.
Solution:   Make the tests pass. (Dominique Pelle, closes #5829)
This commit is contained in:
Bram Moolenaar
2020-03-23 19:28:44 +01:00
parent 56ba21a156
commit ab505b1a48
6 changed files with 23 additions and 19 deletions

View File

@@ -1013,13 +1013,13 @@ func Run_noroom_for_newwindow_test(dir_arg)
let dir = (a:dir_arg == 'v') ? 'vert ' : ''
" Open as many windows as possible
for i in range(500)
while v:true
try
exe dir . 'new'
catch /E36:/
break
endtry
endfor
endwhile
call writefile(['first', 'second', 'third'], 'Xfile1')
call writefile([], 'Xfile2')