Mercurial > vim
diff src/testdir/test_assert.vim @ 22296:006b8ab9d554 v8.2.1697
patch 8.2.1697: inconsistent capitalization of error messages
Commit: https://github.com/vim/vim/commit/7707228aace9aff16434edf5377a354c6ad07316
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 16 17:55:40 2020 +0200
patch 8.2.1697: inconsistent capitalization of error messages
Problem: Inconsistent capitalization of error messages.
Solution: Always start with a capital.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Sep 2020 18:00:04 +0200 |
parents | c512e6f57ff2 |
children | 2d05dd71aac3 |
line wrap: on
line diff
--- 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()