commit 15c502d8be0e9a43372a4357fdc34a5b59169798
parent 88cfb49bee3c9102082c7010acb92244e4ad1348
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 5 May 2023 09:02:33 +0800
vim-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.
https://github.com/vim/vim/commit/ec892234788d37bfed47d8bf82dd4cae8d335ad9
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/old/testdir/test_expand.vim b/test/old/testdir/test_expand.vim
@@ -141,7 +141,7 @@ func Test_source_sfile()
if RunVim([], [], '--clean -s Xscript')
call assert_equal([
\ 'E1274: No script file name to substitute for "<script>"',
- \ 'E498: no :source file name to substitute for "<sfile>"'],
+ \ 'E498: No :source file name to substitute for "<sfile>"'],
\ readfile('Xresult'))
endif
call delete('Xscript')
diff --git a/test/old/testdir/test_vimscript.vim b/test/old/testdir/test_vimscript.vim
@@ -3087,7 +3087,7 @@ func Test_nested_if_else_errors()
endif
END
call writefile(code, 'Xtest')
- call AssertException(['source Xtest'], 'Vim(else):E583: multiple :else')
+ call AssertException(['source Xtest'], 'Vim(else):E583: Multiple :else')
" :elseif after :else
let code =<< trim END