patch 8.1.0026: terminal test fails with very tall terminal v8.1.0026
authorBram Moolenaar <Bram@vim.org>
Sat, 26 May 2018 16:58:51 +0000 (18:58 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 26 May 2018 16:58:51 +0000 (18:58 +0200)
Problem:    Terminal test fails with very tall terminal. (Tom)
Solution:   Fix the terminal window size in the test.

src/testdir/test_terminal.vim
src/version.c

index c4e49b730f3a43b2a43054009c828021436ff846..4cd77572eb2e2b2e38dc9675c3ddb7feaf76204e 100644 (file)
@@ -270,7 +270,7 @@ func Test_terminal_scroll()
 endfunc
 
 func Test_terminal_scrollback()
-  let buf = Run_shell_in_terminal({})
+  let buf = Run_shell_in_terminal({'term_rows': 15})
   set termwinscroll=100
   call writefile(range(150), 'Xtext')
   if has('win32')
index dce336e0e301528ead93c898d419dc3883231968..72960f3ea43b90bbb37d02f42cdd9ed82102ede0 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    26,
 /**/
     25,
 /**/