changeset 14017:e88e2a8de4c5 v8.1.0026

patch 8.1.0026: terminal test fails with very tall terminal commit https://github.com/vim/vim/commit/33c5e9fa7af935c61a8aac461b9664c501003440 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 26 18:58:51 2018 +0200 patch 8.1.0026: terminal test fails with very tall terminal Problem: Terminal test fails with very tall terminal. (Tom) Solution: Fix the terminal window size in the test.
author Christian Brabandt <cb@256bit.org>
date Sat, 26 May 2018 19:00:06 +0200
parents ff0c5ccfa884
children c3064aaf53fb
files src/testdir/test_terminal.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -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')
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    26,
+/**/
     25,
 /**/
     24,