# HG changeset patch # User Bram Moolenaar # Date 1639513805 -3600 # Node ID 7f90bde42bcc818134e97dbf4cf4f37d170dadef # Parent b12f084bff4926641e5dce731eb0ffc1c0281120 patch 8.2.3811: the opfunc error test fails on a slow machine Commit: https://github.com/vim/vim/commit/7c0fb800302c3bdd2dfa5ba10d0caa806e9500f6 Author: Bram Moolenaar Date: Tue Dec 14 20:26:53 2021 +0000 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3811, +/**/ 3810, /**/ 3809,