Mercurial > vim
changeset 22153:7aa10e8e7aec v8.2.1626
patch 8.2.1626: test for strchars() fails with different error number
Commit: https://github.com/vim/vim/commit/707be5f3524accb8b36e80bd2532e00b8246df55
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Sep 2020 17:15:04 +0200 |
parents | 4150aaf0f253 |
children | 6387a3c9e9ef |
files | src/testdir/test_utf8.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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