From: Bram Moolenaar Date: Thu, 10 Nov 2022 00:09:22 +0000 (+0000) Subject: patch 9.0.0851: terminal mouse test is still flaky X-Git-Tag: v9.0.0851 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d139a012e8b9880885c6f45796437cbee4820c7;p=vim 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 index 59fba9679..f871187ef 100644 --- 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 index 3433ebce0..cb95d2c26 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 851, /**/ 850, /**/