1
0
forked from aniani/vim

patch 9.0.0851: terminal mouse test is still flaky

Problem:    Terminal mouse test is still flaky.
Solution:   Also use WaitForAssert().
This commit is contained in:
Bram Moolenaar
2022-11-10 00:09:22 +00:00
parent 38804d6457
commit 1d139a012e
2 changed files with 3 additions and 1 deletions

View File

@@ -716,7 +716,7 @@ func Test_term_mouse()
call TermWait(buf, 50) call TermWait(buf, 50)
call term_sendkeys(buf, ":call writefile([@\"], 'Xbuf')\<CR>") call term_sendkeys(buf, ":call writefile([@\"], 'Xbuf')\<CR>")
call WaitFor(XbufExists) call WaitFor(XbufExists)
call assert_equal('yellow', readfile('Xbuf')[0]) call WaitForAssert({-> assert_equal('yellow', readfile('Xbuf')[0])})
call delete('Xbuf') call delete('Xbuf')
" Test for selecting text using double click " Test for selecting text using double click

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
851,
/**/ /**/
850, 850,
/**/ /**/