summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-17 16:43:49 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-17 16:43:49 +0100
commit507647da3151f7ffccac1b217936240daa79849c (patch)
tree3eacaf6142175d2cea623c703a0a6c8ee4bd28c3
parent79518e2ace5fce7b9c49060e462a6e935dba0a84 (diff)
downloadvim-git-507647da3151f7ffccac1b217936240daa79849c.tar.gz
patch 8.0.0335: functions test failsv8.0.0335
Problem: Functions test fails. Solution: Use the right buffer number.
-rw-r--r--src/testdir/test_functions.vim4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim
index 5e34c2f82..218567ff4 100644
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -453,8 +453,8 @@ func Test_getbufvar()
call assert_equal(def_num, getbufvar(9, '', def_num))
unlet def_num
- call assert_equal(0, getbufvar(1, '&autoindent'))
- call assert_equal(0, getbufvar(1, '&autoindent', 1))
+ call assert_equal(0, getbufvar(bnr, '&autoindent'))
+ call assert_equal(0, getbufvar(bnr, '&autoindent', 1))
" Open new window with forced option values
set fileformats=unix,dos
diff --git a/src/version.c b/src/version.c
index c66c1f456..ef1f9adab 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 335,
+/**/
334,
/**/
333,