diff src/testdir/test_cmdline.vim @ 19748:d089bd9511c0 v8.2.0430

patch 8.2.0430: window creation failure not properly tested Commit: https://github.com/vim/vim/commit/5080b0a0470511bae6176a704d4591d1caba0d07 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 22 21:23:47 2020 +0100 patch 8.2.0430: window creation failure not properly tested Problem: Window creation failure not properly tested. Solution: Improve the test. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5826)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Mar 2020 21:30:04 +0100
parents b3e93a05c3ca
children 546bdeef35f1
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -1420,20 +1420,6 @@ func Test_cmdline_inputmethod()
   %bwipe!
 endfunc
 
-" Test for opening the command-line window when too many windows are present
-func Test_cmdwin_fail_to_open()
-  " Open as many windows as possible
-  for i in range(100)
-    try
-      new
-    catch /E36:/
-      break
-    endtry
-  endfor
-  call assert_beeps('call feedkeys("q:\<CR>", "xt")')
-  only
-endfunc
-
 " Test for recursively getting multiple command line inputs
 func Test_cmdwin_multi_input()
   call feedkeys(":\<C-R>=input('P: ')\<CR>\"cyan\<CR>\<CR>", 'xt')