]> granicus.if.org Git - vim/commitdiff
patch 8.2.4495: help test fails in 24 line terminal v8.2.4495
authorBram Moolenaar <Bram@vim.org>
Wed, 2 Mar 2022 20:49:50 +0000 (20:49 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 2 Mar 2022 20:49:50 +0000 (20:49 +0000)
Problem:    Help test fails in 24 line terminal.
Solution:   Use up to 23 lines for text.

src/testdir/test_help.vim
src/version.c

index b8b9bbc78bd77d93c413678b3171b1b7450940bb..5c46de4ee3127af138130542171540a82338998d 100644 (file)
@@ -152,7 +152,7 @@ endfunc
 
 " Test for setting the 'helpheight' option in the help window
 func Test_help_window_height()
-  let &cmdheight = &lines - 24
+  let &cmdheight = &lines - 23
   set helpheight=10
   help
   set helpheight=14
index 341a68159c6532e22cde97796c0edf227050190e..55ebc43de46e93d83a3fdeba586ef33ff75c6cb0 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4495,
 /**/
     4494,
 /**/