From: Bram Moolenaar Date: Tue, 14 Dec 2021 20:26:53 +0000 (+0000) Subject: patch 8.2.3811: the opfunc error test fails on a slow machine X-Git-Tag: v8.2.3811 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c0fb800302c3bdd2dfa5ba10d0caa806e9500f6;p=vim patch 8.2.3811: the opfunc error test fails on a slow machine Problem: The opfunc error test fails on a slow machine. Solution: Use WaitForAssert(). --- diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index f4a42cec2..9dc0d738d 100644 --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim @@ -3231,6 +3231,7 @@ def Run_Test_opfunc_error() call writefile(lines, 'XTest_opfunc_error') var buf = RunVimInTerminal('-S XTest_opfunc_error', {rows: 6, wait_for_ruler: 0}) + WaitForAssert(() => assert_match('Press ENTER', term_getline(buf, 6))) VerifyScreenDump(buf, 'Test_opfunc_error', {}) # clean up diff --git a/src/version.c b/src/version.c index 6ce7173ea..581fcd7ff 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3811, /**/ 3810, /**/