aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-04 23:17:43 +0800
committerGitHub <noreply@github.com>2023-05-04 23:17:43 +0800
commitb16729f8162ce21a52f079c3849f5011b768d0ce (patch)
tree2f6c29f6c9af0cb9eff19c9a07102c5275e0f21e /test
parentfe7cdc7cc0037bb41bd940bee7818a5235ffaa79 (diff)
downloadrneovim-b16729f8162ce21a52f079c3849f5011b768d0ce.tar.gz
rneovim-b16729f8162ce21a52f079c3849f5011b768d0ce.tar.bz2
rneovim-b16729f8162ce21a52f079c3849f5011b768d0ce.zip
vim-patch:8.2.1697: inconsistent capitalization of error messages (#23476)
Problem: Inconsistent capitalization of error messages. Solution: Always start with a capital. https://github.com/vim/vim/commit/7707228aace9aff16434edf5377a354c6ad07316 Most of these errors are Vim9 script only. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_assert.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/old/testdir/test_assert.vim b/test/old/testdir/test_assert.vim
index 4386492339..837e1dde6d 100644
--- a/test/old/testdir/test_assert.vim
+++ b/test/old/testdir/test_assert.vim
@@ -240,35 +240,35 @@ func Test_assert_fail_fails()
catch
let exp = v:exception
endtry
- call assert_match("E856: assert_fails() second argument", exp)
+ call assert_match("E856: \"assert_fails()\" second argument", exp)
try
call assert_equal(1, assert_fails('xxx', ['1', '2', '3']))
catch
let exp = v:exception
endtry
- call assert_match("E856: assert_fails() second argument", exp)
+ call assert_match("E856: \"assert_fails()\" second argument", exp)
try
call assert_equal(1, assert_fails('xxx', #{one: 1}))
catch
let exp = v:exception
endtry
- call assert_match("E856: assert_fails() second argument", exp)
+ call assert_match("E856: \"assert_fails()\" second argument", exp)
try
call assert_equal(1, assert_fails('xxx', 'E492', '', 'burp'))
catch
let exp = v:exception
endtry
- call assert_match("E1115: assert_fails() fourth argument must be a number", exp)
+ call assert_match("E1115: \"assert_fails()\" fourth argument must be a number", exp)
try
call assert_equal(1, assert_fails('xxx', 'E492', '', 54, 123))
catch
let exp = v:exception
endtry
- call assert_match("E1116: assert_fails() fifth argument must be a string", exp)
+ call assert_match("E1116: \"assert_fails()\" fifth argument must be a string", exp)
endfunc
func Test_assert_fails_in_try_block()