0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0335: functions test fails

Problem:    Functions test fails.
Solution:   Use the right buffer number.
This commit is contained in:
Bram Moolenaar
2017-02-17 16:43:49 +01:00
parent 79518e2ace
commit 507647da31
2 changed files with 4 additions and 2 deletions

View File

@@ -453,8 +453,8 @@ func Test_getbufvar()
call assert_equal(def_num, getbufvar(9, '', def_num)) call assert_equal(def_num, getbufvar(9, '', def_num))
unlet def_num unlet def_num
call assert_equal(0, getbufvar(1, '&autoindent')) call assert_equal(0, getbufvar(bnr, '&autoindent'))
call assert_equal(0, getbufvar(1, '&autoindent', 1)) call assert_equal(0, getbufvar(bnr, '&autoindent', 1))
" Open new window with forced option values " Open new window with forced option values
set fileformats=unix,dos set fileformats=unix,dos

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
335,
/**/ /**/
334, 334,
/**/ /**/