# HG changeset patch # User Bram Moolenaar # Date 1599405304 -7200 # Node ID 7aa10e8e7aecfcb0bffd9317d1b5d6e9e2f327c3 # Parent 4150aaf0f253034d0cec1e1154c72d72787efabe patch 8.2.1626: test for strchars() fails with different error number Commit: https://github.com/vim/vim/commit/707be5f3524accb8b36e80bd2532e00b8246df55 Author: Bram Moolenaar Date: Sun Sep 6 17:13:44 2020 +0200 patch 8.2.1626: test for strchars() fails with different error number Problem: Test for strchars() fails with different error number. Solution: Adjust the error number. diff --git a/src/testdir/test_utf8.vim b/src/testdir/test_utf8.vim --- 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 --- 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,