Patch 9.0.0851 (after 9.0.0849)
Problem: Terminal mouse test is still flaky.
Solution: Also use WaitForAssert().
Files: src/testdir/test_terminal3.vim
*** ../vim-9.0.0850/src/testdir/test_terminal3.vim 2022-11-09 23:29:10.607134995 +0000
--- src/testdir/test_terminal3.vim 2022-11-10 00:06:40.292701863 +0000
***************
*** 716,722 ****
call TermWait(buf, 50)
call term_sendkeys(buf, ":call writefile([@\"], 'Xbuf')\<CR>")
call WaitFor(XbufExists)
! call assert_equal('yellow', readfile('Xbuf')[0])
call delete('Xbuf')
" Test for selecting text using double click
--- 716,722 ----
call TermWait(buf, 50)
call term_sendkeys(buf, ":call writefile([@\"], 'Xbuf')\<CR>")
call WaitFor(XbufExists)
! call WaitForAssert({-> assert_equal('yellow', readfile('Xbuf')[0])})
call delete('Xbuf')
" Test for selecting text using double click
*** ../vim-9.0.0850/src/version.c 2022-11-09 23:55:46.892274515 +0000
--- src/version.c 2022-11-10 00:08:45.648779119 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 851,
/**/
--
He who laughs last, thinks slowest.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///