Patch 8.2.2007 Problem: Test for insert mode in popup is not reliable. Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321) Files: src/testdir/test_terminal.vim
*** ../vim-8.2.2006/src/testdir/test_terminal.vim 2020-11-16 21:10:30.368663593 +0100 --- src/testdir/test_terminal.vim 2020-11-18 12:21:37.229420300 +0100 *************** *** 1266,1272 **** call assert_equal('n', mode()) call feedkeys("\<C-D>", 'xt') ! sleep 50m delfunc StartTermInPopup iunmap <F3> endfunc --- 1266,1272 ---- call assert_equal('n', mode()) call feedkeys("\<C-D>", 'xt') ! call WaitFor({-> popup_list() == []}) delfunc StartTermInPopup iunmap <F3> endfunc *** ../vim-8.2.2006/src/version.c 2020-11-18 12:12:35.171525154 +0100 --- src/version.c 2020-11-18 12:23:20.253143088 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2007, /**/ -- ARTHUR: This new learning amazes me, Sir Bedevere. Explain again how sheep's bladders may be employed to prevent earthquakes. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202011181124.0AIBOed8019716%40masaka.moolenaar.net.