diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-16 17:55:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-16 17:55:40 +0200 |
commit | 7707228aace9aff16434edf5377a354c6ad07316 (patch) | |
tree | c4bf24e675ae76e620e690cae4babe1b4f9dfa06 /src/testdir/test_assert.vim | |
parent | 2c12f890551bbdf5605472a4d711d48a273685d7 (diff) | |
download | vim-git-7707228aace9aff16434edf5377a354c6ad07316.tar.gz |
patch 8.2.1697: inconsistent capitalization of error messagesv8.2.1697
Problem: Inconsistent capitalization of error messages.
Solution: Always start with a capital.
Diffstat (limited to 'src/testdir/test_assert.vim')
-rw-r--r-- | src/testdir/test_assert.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testdir/test_assert.vim b/src/testdir/test_assert.vim index 47dcc1f1e..04fde2d65 100644 --- a/src/testdir/test_assert.vim +++ b/src/testdir/test_assert.vim @@ -254,35 +254,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() |