Permalink
Browse files

patch 8.0.0335: functions test fails

Problem:    Functions test fails.
Solution:   Use the right buffer number.
  • Loading branch information...
brammool committed Feb 17, 2017
1 parent 79518e2 commit 507647da3151f7ffccac1b217936240daa79849c
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/testdir/test_functions.vim
  2. +2 −0 src/version.c
@@ -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
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 335,
/**/
334,
/**/

0 comments on commit 507647d

Please sign in to comment.