Patch 8.2.1626

3 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 6, 2020, 11:14:28 AM9/6/20
to vim...@googlegroups.com

Patch 8.2.1626
Problem: Test for strchars() fails with different error number.
Solution: Adjust the error number.
Files: src/testdir/test_utf8.vim


*** ../vim-8.2.1625/src/testdir/test_utf8.vim 2020-08-28 23:27:16.932923997 +0200
--- src/testdir/test_utf8.vim 2020-09-06 17:11:43.401676698 +0200
***************
*** 21,27 ****
call assert_equal(exp[i][2], strchars(inp[i], 1))
endfor
call assert_fails("let v=strchars('abc', [])", 'E745:')
! call assert_fails("let v=strchars('abc', 2)", 'E474:')
endfunc

" Test for customlist completion
--- 21,27 ----
call assert_equal(exp[i][2], strchars(inp[i], 1))
endfor
call assert_fails("let v=strchars('abc', [])", 'E745:')
! call assert_fails("let v=strchars('abc', 2)", 'E1023:')
endfunc

" Test for customlist completion
*** ../vim-8.2.1625/src/version.c 2020-09-06 17:09:09.026021160 +0200
--- src/version.c 2020-09-06 17:12:32.157567567 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1626,
/**/

--
Did you ever stop to think... and forget to start again?
-- Steven Wright

/// 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