]> granicus.if.org Git - vim/commitdiff
patch 8.2.1626: test for strchars() fails with different error number v8.2.1626
authorBram Moolenaar <Bram@vim.org>
Sun, 6 Sep 2020 15:13:44 +0000 (17:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 6 Sep 2020 15:13:44 +0000 (17:13 +0200)
Problem:    Test for strchars() fails with different error number.
Solution:   Adjust the error number.

src/testdir/test_utf8.vim
src/version.c

index a1e97fd70b62cdd3d0d802eb0df6dcaf7b9d6cca..bfb90c1086203be3acf3b0150ab3fda17309bf9a 100644 (file)
@@ -21,7 +21,7 @@ func Test_strchars()
     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:')
+  call assert_fails("let v=strchars('abc', 2)", 'E1023:')
 endfunc
 
 " Test for customlist completion
index e361679658961b3aa473085cb2fbedcd55ca4c9f..c6c111a31dea86b85ca92326f08cbdede526f224 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1626,
 /**/
     1625,
 /**/