1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2020-09-06 17:13:44 +02:00
parent 30d6413782
commit 707be5f352
2 changed files with 3 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ func Test_strchars()
call assert_equal(exp[i][2], strchars(inp[i], 1)) call assert_equal(exp[i][2], strchars(inp[i], 1))
endfor endfor
call assert_fails("let v=strchars('abc', [])", 'E745:') 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 endfunc
" Test for customlist completion " Test for customlist completion

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1626,
/**/ /**/
1625, 1625,
/**/ /**/