diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-10 00:09:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-10 00:09:22 +0000 |
commit | 1d139a012e8b9880885c6f45796437cbee4820c7 (patch) | |
tree | 2aae0ff421773f7f074e8d6fa17ee9a57f42aeeb /src/testdir/test_terminal3.vim | |
parent | 38804d64576c07caf06b381fae4578b88f535aa9 (diff) | |
download | vim-git-1d139a012e8b9880885c6f45796437cbee4820c7.tar.gz |
patch 9.0.0851: terminal mouse test is still flakyv9.0.0851
Problem: Terminal mouse test is still flaky.
Solution: Also use WaitForAssert().
Diffstat (limited to 'src/testdir/test_terminal3.vim')
-rw-r--r-- | src/testdir/test_terminal3.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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')\<CR>") 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 |