Skip to content

Commit

Permalink
patch 8.2.3811: the opfunc error test fails on a slow machine
Browse files Browse the repository at this point in the history
Problem:    The opfunc error test fails on a slow machine.
Solution:   Use WaitForAssert().
  • Loading branch information
brammool committed Dec 14, 2021
1 parent b334137 commit 7c0fb80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/testdir/test_vim9_func.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3811,
/**/
3810,
/**/
Expand Down

0 comments on commit 7c0fb80

Please sign in to comment.