Mercurial > vim
diff src/testdir/test_window_cmd.vim @ 19752:0927df746554 v8.2.0432
patch 8.2.0432: a few tests fail in a huge terminal
Commit: https://github.com/vim/vim/commit/ab505b1a4868b3e21356f95a275537551700c955
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 19:28:44 2020 +0100
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 https://github.com/vim/vim/issues/5829)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 19:30:06 +0100 |
parents | d089bd9511c0 |
children | 546bdeef35f1 |
line wrap: on
line diff
--- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -1013,13 +1013,13 @@ func Run_noroom_for_newwindow_test(dir_a 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')