Permalink
Browse files

patch 8.0.0833: terminal test fails

Problem:    Terminal test fails.
Solution:   Update the row argument to one based.
  • Loading branch information...
brammool committed Aug 1, 2017
1 parent c2ce52c commit 9c8448472fe686f10c4aaf69bcf0fafbbd19abc2
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/testdir/test_terminal.vim
  2. +2 −0 src/version.c
@@ -25,7 +25,7 @@ func Test_terminal_basic()
endfunc
func Check_123(buf)
let l = term_scrape(a:buf, 0)
let l = term_scrape(a:buf, 1)
call assert_true(len(l) > 0)
call assert_equal('1', l[0].chars)
call assert_equal('2', l[1].chars)
@@ -37,7 +37,7 @@ func Check_123(buf)
call assert_equal('#000000', l[0].bg)
endif
let l = term_getline(a:buf, 0)
let l = term_getline(a:buf, 1)
call assert_equal('123', l)
endfunc
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
833,
/**/
832,
/**/

0 comments on commit 9c84484

Please sign in to comment.