diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-04 21:18:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-04 21:18:46 +0200 |
commit | e2e4075fad1326181edc5a131e48c644ef613693 (patch) | |
tree | f3749b559e690b3e8e80990441aeb6459d955fce /src/testdir/test_assert.vim | |
parent | 24f7750ffa9730579736d779b7cc94faff325fc1 (diff) |
patch 8.2.1593: tests do not check the error number properlyv8.2.1593
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869)
Diffstat (limited to 'src/testdir/test_assert.vim')
-rw-r--r-- | src/testdir/test_assert.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_assert.vim b/src/testdir/test_assert.vim index a3b45a1700..1a18799f5d 100644 --- a/src/testdir/test_assert.vim +++ b/src/testdir/test_assert.vim @@ -341,8 +341,8 @@ func Test_override() call test_override('char_avail', 1) eval 1->test_override('redraw') call test_override('ALL', 0) - call assert_fails("call test_override('xxx', 1)", 'E475') - call assert_fails("call test_override('redraw', 'yes')", 'E474') + call assert_fails("call test_override('xxx', 1)", 'E475:') + call assert_fails("call test_override('redraw', 'yes')", 'E474:') endfunc func Test_mouse_position() |