To: vim_dev@googlegroups.com Subject: Patch 8.2.3811 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3811 Problem: The opfunc error test fails on a slow machine. Solution: Use WaitForAssert(). Files: src/testdir/test_vim9_func.vim *** ../vim-8.2.3810/src/testdir/test_vim9_func.vim 2021-12-14 18:14:34.129509139 +0000 --- src/testdir/test_vim9_func.vim 2021-12-14 20:24:24.074613558 +0000 *************** *** 3231,3236 **** --- 3231,3237 ---- 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 *** ../vim-8.2.3810/src/version.c 2021-12-14 18:57:41.948194166 +0000 --- src/version.c 2021-12-14 20:25:46.538353658 +0000 *************** *** 751,752 **** --- 751,754 ---- { /* Add new patch number below this line */ + /**/ + 3811, /**/ -- To define recursion, we must first define recursion. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///