summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-01 18:41:21 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-01 18:41:21 +0200
commit9c8448472fe686f10c4aaf69bcf0fafbbd19abc2 (patch)
tree6cefbd6c8066a3be0152ded934a58cac5d29a4b3
parentc2ce52c011fcd17ad7ef241e5f95a78294a6a141 (diff)
downloadvim-git-9c8448472fe686f10c4aaf69bcf0fafbbd19abc2.tar.gz
patch 8.0.0833: terminal test failsv8.0.0833
Problem: Terminal test fails. Solution: Update the row argument to one based.
-rw-r--r--src/testdir/test_terminal.vim4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index acf69be33..8df690c3c 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index 67862d090..4a77bddf3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 833,
+/**/
832,
/**/
831,