aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-05 09:02:33 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-05-05 09:20:30 +0800
commit15c502d8be0e9a43372a4357fdc34a5b59169798 (patch)
treea7f0e523d0f0b087644ecce0b2b21aaeda3fe6f3
parent88cfb49bee3c9102082c7010acb92244e4ad1348 (diff)
downloadrneovim-15c502d8be0e9a43372a4357fdc34a5b59169798.tar.gz
rneovim-15c502d8be0e9a43372a4357fdc34a5b59169798.tar.bz2
rneovim-15c502d8be0e9a43372a4357fdc34a5b59169798.zip
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>
-rw-r--r--test/old/testdir/test_expand.vim2
-rw-r--r--test/old/testdir/test_vimscript.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_expand.vim b/test/old/testdir/test_expand.vim
index 4f5bb67d21..cd537f4ea1 100644
--- 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
index 68ce493927..1c5310e883 100644
--- 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