Patch 8.2.3811

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 14, 2021, 3:27:24 PM12/14/21
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages