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.

707be5f352

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq 2022-11-05 15:06:39 +08:00
parent d857569dbd
commit 451850920b

View File

@ -22,7 +22,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