patch 8.2.4892: test failures because of changed error messages
Problem: Test failures because of changed error messages.
Solution: Adjust the exptected error messages.
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim
index 9287ed5..5f42c1c 100644
--- a/src/testdir/test_vim9_func.vim
+++ b/src/testdir/test_vim9_func.vim
@@ -3709,7 +3709,7 @@
var buf = g:RunVimInTerminal('-S XTest_opfunc_error', {rows: 6, wait_for_ruler: 0})
g:WaitForAssert(() => assert_match('Press ENTER', term_getline(buf, 6)))
- g:WaitForAssert(() => assert_match('E684: list index out of range: 0', term_getline(buf, 5)))
+ g:WaitForAssert(() => assert_match('E684: List index out of range: 0', term_getline(buf, 5)))
# clean up
g:StopVimInTerminal(buf)