summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-06 17:13:44 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-06 17:13:44 +0200
commit707be5f3524accb8b36e80bd2532e00b8246df55 (patch)
treed9419b850b1ade9f3136d134c455d5d4864a3e5b
parent30d6413782c8206899cee109f521895a03c76441 (diff)
downloadvim-git-707be5f3524accb8b36e80bd2532e00b8246df55.tar.gz
patch 8.2.1626: test for strchars() fails with different error numberv8.2.1626
Problem: Test for strchars() fails with different error number. Solution: Adjust the error number.
-rw-r--r--src/testdir/test_utf8.vim2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_utf8.vim b/src/testdir/test_utf8.vim
index a1e97fd70..bfb90c108 100644
--- a/src/testdir/test_utf8.vim
+++ b/src/testdir/test_utf8.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index e36167965..c6c111a31 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1626,
+/**/
1625,
/**/
1624,