]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0586: missing change in test v9.0.0586
authorBram Moolenaar <Bram@vim.org>
Sun, 25 Sep 2022 17:44:03 +0000 (18:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 25 Sep 2022 17:44:03 +0000 (18:44 +0100)
Problem:    Missing change in test.
Solution:   Add the test change.

src/testdir/test_messages.vim
src/version.c

index a92a58015221ac205618febb1741ef3a991251b4..0100ba97ea6c29b84aa61999cdc6856ef598b048 100644 (file)
@@ -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
index 22e54241bd59b4743301cac01c5d3d8757300dd1..30fe48d9d62271803276d01d4e83101ae2506a9e 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    586,
 /**/
     585,
 /**/