Skip to content

Commit 9c84484

Browse files
committed
patch 8.0.0833: terminal test fails
Problem: Terminal test fails. Solution: Update the row argument to one based.
1 parent c2ce52c commit 9c84484

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_terminal.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Test_terminal_basic()
2525
endfunc
2626

2727
func Check_123(buf)
28-
let l = term_scrape(a:buf, 0)
28+
let l = term_scrape(a:buf, 1)
2929
call assert_true(len(l) > 0)
3030
call assert_equal('1', l[0].chars)
3131
call assert_equal('2', l[1].chars)
@@ -37,7 +37,7 @@ func Check_123(buf)
3737
call assert_equal('#000000', l[0].bg)
3838
endif
3939

40-
let l = term_getline(a:buf, 0)
40+
let l = term_getline(a:buf, 1)
4141
call assert_equal('123', l)
4242
endfunc
4343

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
833,
772774
/**/
773775
832,
774776
/**/

0 commit comments

Comments
 (0)