aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-05 15:06:39 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-11-05 18:06:00 +0800
commit451850920b361059ba99bbde4b90b7730327eebb (patch)
treea07d1cc67710f9bb6639d2a62d43b92dc8cb7495
parentd857569dbdc0a9374b2cf661b9a7d49b38aad966 (diff)
downloadrneovim-451850920b361059ba99bbde4b90b7730327eebb.tar.gz
rneovim-451850920b361059ba99bbde4b90b7730327eebb.tar.bz2
rneovim-451850920b361059ba99bbde4b90b7730327eebb.zip
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. https://github.com/vim/vim/commit/707be5f3524accb8b36e80bd2532e00b8246df55 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--src/nvim/testdir/test_utf8.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_utf8.vim b/src/nvim/testdir/test_utf8.vim
index 8e13ed778f..3d29d38231 100644
--- a/src/nvim/testdir/test_utf8.vim
+++ b/src/nvim/testdir/test_utf8.vim
@@ -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