summaryrefslogtreecommitdiff
path: root/src/testdir/test_terminal3.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-10 00:09:22 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-10 00:09:22 +0000
commit1d139a012e8b9880885c6f45796437cbee4820c7 (patch)
tree2aae0ff421773f7f074e8d6fa17ee9a57f42aeeb /src/testdir/test_terminal3.vim
parent38804d64576c07caf06b381fae4578b88f535aa9 (diff)
downloadvim-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.vim2
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