Patch 8.2.1822

5 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 10, 2020, 10:43:12 AM10/10/20
to vim...@googlegroups.com

Patch 8.2.1822 (after 8.2.1821)
Problem: List test doesn't fail.
Solution: Adjust the test for NULL list handling.
Files: src/testdir/test_listdict.vim


*** ../vim-8.2.1821/src/testdir/test_listdict.vim 2020-10-05 20:07:14.413414315 +0200
--- src/testdir/test_listdict.vim 2020-10-10 16:39:51.028354080 +0200
***************
*** 1007,1014 ****
call assert_equal('[]', string(l))
call assert_equal(0, sort(l))
call assert_equal(0, uniq(l))
! call assert_fails("let k = [] + l", 'E15:')
! call assert_fails("let k = l + []", 'E15:')
call assert_equal(0, len(copy(l)))
call assert_equal(0, count(l, 5))
call assert_equal([], deepcopy(l))
--- 1007,1016 ----
call assert_equal('[]', string(l))
call assert_equal(0, sort(l))
call assert_equal(0, uniq(l))
! let k = [] + l
! call assert_equal([], k)
! let k = l + []
! call assert_equal([], k)
call assert_equal(0, len(copy(l)))
call assert_equal(0, count(l, 5))
call assert_equal([], deepcopy(l))
*** ../vim-8.2.1821/src/version.c 2020-10-10 15:37:54.190275246 +0200
--- src/version.c 2020-10-10 16:38:05.088638230 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1822,
/**/

--
Keyboard not found. Think ENTER to continue.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages