Patch 9.0.0586

2 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 25, 2022, 1:44:59 PM9/25/22
to vim...@googlegroups.com

Patch 9.0.0586 (after 9.0.0585)
Problem: Missing change in test.
Solution: Add the test change.
Files: src/testdir/test_messages.vim


*** ../vim-9.0.0585/src/testdir/test_messages.vim 2022-09-22 12:01:27.254151371 +0100
--- src/testdir/test_messages.vim 2022-09-25 18:38:09.169709593 +0100
***************
*** 365,379 ****
let content =<< trim END
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', {})

" clean up
call StopVimInTerminal(buf)
- call delete('Xtest_quit_message')
endfunc

" this was missing a terminating NUL
--- 365,378 ----
let content =<< trim END
echom range(9999)->join("\x01")
END
! call writefile(content, 'Xtest_quit_message', 'D')
! let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 10, wait_for_ruler: 0})
! call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 10))})
call term_sendkeys(buf, "q")
call VerifyScreenDump(buf, 'Test_quit_long_message', {})

" clean up
call StopVimInTerminal(buf)
endfunc

" this was missing a terminating NUL
*** ../vim-9.0.0585/src/version.c 2022-09-25 18:41:10.161462094 +0100
--- src/version.c 2022-09-25 18:43:41.161235743 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 586,
/**/

--
Living in Hollywood is like living in a bowl of granola. What ain't
fruits and nuts is flakes.

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