changeset 30501:f85930a64d7b v9.0.0586

patch 9.0.0586: missing change in test Commit: https://github.com/vim/vim/commit/124af71a28a633fa655cff41bc21d398481ce45f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 25 18:44:03 2022 +0100 patch 9.0.0586: missing change in test Problem: Missing change in test. Solution: Add the test change.
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Sep 2022 19:45:05 +0200
parents cd643d74e4e0
children f77c240eb5fc
files src/testdir/test_messages.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_messages.vim
+++ b/src/testdir/test_messages.vim
@@ -365,15 +365,14 @@ func Test_quit_long_message()
   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 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)
-  call delete('Xtest_quit_message')
 endfunc
 
 " this was missing a terminating NUL
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    586,
+/**/
     585,
 /**/
     584,