forked from aniani/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().
This commit is contained in:
@@ -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
|
||||
|
@@ -749,6 +749,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3811,
|
||||
/**/
|
||||
3810,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user