diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-23 19:28:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-23 19:28:44 +0100 |
commit | ab505b1a4868b3e21356f95a275537551700c955 (patch) | |
tree | 82613faf8fb01c0c23f6d1be687d2fe01d003474 /src/testdir/test_window_cmd.vim | |
parent | 56ba21a156c723d92a1929e2c500be7295efb0a8 (diff) | |
download | vim-git-ab505b1a4868b3e21356f95a275537551700c955.tar.gz |
patch 8.2.0432: a few tests fail in a huge terminalv8.2.0432
Problem: A few tests fail in a huge terminal.
Solution: Make the tests pass. (Dominique Pelle, closes #5829)
Diffstat (limited to 'src/testdir/test_window_cmd.vim')
-rw-r--r-- | src/testdir/test_window_cmd.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim index 1a676661c..040324d20 100644 --- 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_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') |