diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-14 20:26:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-14 20:26:53 +0000 |
commit | 7c0fb800302c3bdd2dfa5ba10d0caa806e9500f6 (patch) | |
tree | 2b98042131f7ded4179c6e9f32f05cbcc30e5f65 | |
parent | b334137acffd7a2b2ab8524e54d4c55ebf4518ea (diff) |
patch 8.2.3811: the opfunc error test fails on a slow machinev8.2.3811
Problem: The opfunc error test fails on a slow machine.
Solution: Use WaitForAssert().
-rw-r--r-- | src/testdir/test_vim9_func.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index f4a42cec25..9dc0d738de 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 6ce7173ea3..581fcd7ff4 100644 --- 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, |