1
0
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:
Bram Moolenaar
2021-12-14 20:26:53 +00:00
parent b334137acf
commit 7c0fb80030
2 changed files with 3 additions and 0 deletions

View File

@@ -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