Patch 9.0.0539
Problem: Long message test can be flaky.
Solution: Wait for more prompt instead of ruler.
Files: src/testdir/test_messages.vim
*** ../vim-9.0.0538/src/testdir/test_messages.vim 2022-09-20 12:45:11.848336408 +0100
--- src/testdir/test_messages.vim 2022-09-22 11:56:57.586360921 +0100
***************
*** 366,372 ****
echom range(9999)->join("\x01")
END
call writefile(content, 'Xtest_quit_message')
! let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6})
call term_sendkeys(buf, "q")
call VerifyScreenDump(buf, 'Test_quit_long_message', {})
--- 366,373 ----
echom range(9999)->join("\x01")
END
call writefile(content, 'Xtest_quit_message')
! let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6, wait_for_ruler: 0})
! call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 6))})
call term_sendkeys(buf, "q")
call VerifyScreenDump(buf, 'Test_quit_long_message', {})
*** ../vim-9.0.0538/src/version.c 2022-09-21 21:59:58.273433517 +0100
--- src/version.c 2022-09-22 12:01:05.838166149 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 539,
/**/
--
hundred-and-one symptoms of being an internet addict:
127. You bring your laptop and cellular phone to church.
/// 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 ///