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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211214202719.6C43F1C014A%40moolenaar.net.

Raspunde prin e-mail lui