# HG changeset patch # User Christian Brabandt # Date 1487346306 -3600 # Node ID c9d057b7a0ab7a991c4115fc9f1cce016eb9ad05 # Parent d2c0687e460b0a794017378d86705c70ca488777 patch 8.0.0335: functions test fails commit https://github.com/vim/vim/commit/507647da3151f7ffccac1b217936240daa79849c Author: Bram Moolenaar Date: Fri Feb 17 16:43:49 2017 +0100 patch 8.0.0335: functions test fails Problem: Functions test fails. Solution: Use the right buffer number. diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim --- 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 --- 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,