Patch 9.0.0330 (after 9.0.0327)
Problem: Method tests fail.
Solution: Adjust for change of items().
Files: src/testdir/test_method.vim
*** ../vim-9.0.0329/src/testdir/test_method.vim 2021-05-15 18:54:58.000000000 +0100
--- src/testdir/test_method.vim 2022-08-30 16:38:41.909202517 +0100
***************
*** 20,28 ****
call assert_equal(2, l->get(1))
call assert_equal(1, l->index(2))
call assert_equal([0, 1, 2, 3], [1, 2, 3]->insert(0))
- call assert_fails('eval l->items()', 'E715:')
call assert_equal('1 2 3', l->join())
! call assert_fails('eval l->keys()', 'E715:')
call assert_equal(3, l->len())
call assert_equal([2, 3, 4], [1, 2, 3]->map('v:val + 1'))
call assert_equal(3, l->max())
--- 20,27 ----
call assert_equal(2, l->get(1))
call assert_equal(1, l->index(2))
call assert_equal([0, 1, 2, 3], [1, 2, 3]->insert(0))
call assert_equal('1 2 3', l->join())
! call assert_fails('eval l->keys()', 'E1206:')
call assert_equal(3, l->len())
call assert_equal([2, 3, 4], [1, 2, 3]->map('v:val + 1'))
call assert_equal(3, l->max())
***************
*** 34,40 ****
call assert_equal('[1, 2, 3]', l->string())
call assert_equal(v:t_list, l->type())
call assert_equal([1, 2, 3], [1, 1, 2, 3, 3]->uniq())
! call assert_fails('eval l->values()', 'E715:')
call assert_fails('echo []->len', 'E107:')
endfunc
--- 33,39 ----
call assert_equal('[1, 2, 3]', l->string())
call assert_equal(v:t_list, l->type())
call assert_equal([1, 2, 3], [1, 1, 2, 3, 3]->uniq())
! call assert_fails('eval l->values()', 'E1206:')
call assert_fails('echo []->len', 'E107:')
endfunc
***************
*** 79,84 ****
--- 78,84 ----
eval "a\rb\ec"->strtrans()->assert_equal('a^Mb^[c')
eval "aあb"->strwidth()->assert_equal(4)
eval 'abc'->substitute('b', 'x', '')->assert_equal('axc')
+ call assert_fails('eval "x"->items()', 'E1227:')
eval 'abc'->printf('the %s arg')->assert_equal('the abc arg')
endfunc
*** ../vim-9.0.0329/src/version.c 2022-08-30 15:44:18.848029743 +0100
--- src/version.c 2022-08-30 16:40:15.628942842 +0100
***************
*** 709,710 ****
--- 709,712 ----
{ /* Add new patch number below this line */
+ /**/
+ 330,
/**/
--
./configure
Checking whether build environment is sane ...
build environment is grinning and holding a spatula. Guess not.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///