# HG changeset patch # User Bram Moolenaar # Date 1668039303 -3600 # Node ID 3ad8db9a1e038eeca487d91263c6a76dd91cbead # Parent 238097305e1393381bf220e06c5909b6a5ab85f8 patch 9.0.0851: terminal mouse test is still flaky Commit: https://github.com/vim/vim/commit/1d139a012e8b9880885c6f45796437cbee4820c7 Author: Bram Moolenaar Date: Thu Nov 10 00:09:22 2022 +0000 patch 9.0.0851: terminal mouse test is still flaky Problem: Terminal mouse test is still flaky. Solution: Also use WaitForAssert(). diff --git a/src/testdir/test_terminal3.vim b/src/testdir/test_terminal3.vim --- a/src/testdir/test_terminal3.vim +++ b/src/testdir/test_terminal3.vim @@ -716,7 +716,7 @@ func Test_term_mouse() call TermWait(buf, 50) call term_sendkeys(buf, ":call writefile([@\"], 'Xbuf')\") call WaitFor(XbufExists) - call assert_equal('yellow', readfile('Xbuf')[0]) + call WaitForAssert({-> assert_equal('yellow', readfile('Xbuf')[0])}) call delete('Xbuf') " Test for selecting text using double click diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 851, +/**/ 850, /**/ 849,