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_let.vim | |
parent | 24f7750ffa9730579736d779b7cc94faff325fc1 (diff) | |
download | vim-git-e2e4075fad1326181edc5a131e48c644ef613693.tar.gz |
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_let.vim')
-rw-r--r-- | src/testdir/test_let.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_let.vim b/src/testdir/test_let.vim index 017b2a4a4..6dc36ea96 100644 --- a/src/testdir/test_let.vim +++ b/src/testdir/test_let.vim @@ -250,23 +250,23 @@ func Test_let_termcap() let &t_k1 = old_t_k1 endif - call assert_fails('let x = &t_xx', 'E113') + call assert_fails('let x = &t_xx', 'E113:') let &t_xx = "yes" call assert_equal("yes", &t_xx) let &t_xx = "" - call assert_fails('let x = &t_xx', 'E113') + call assert_fails('let x = &t_xx', 'E113:') endfunc func Test_let_option_error() let _w = &tw let &tw = 80 - call assert_fails('let &tw .= 1', 'E734') + call assert_fails('let &tw .= 1', 'E734:') call assert_equal(80, &tw) let &tw = _w let _w = &fillchars let &fillchars = "vert:|" - call assert_fails('let &fillchars += "diff:-"', 'E734') + call assert_fails('let &fillchars += "diff:-"', 'E734:') call assert_equal("vert:|", &fillchars) let &fillchars = _w endfunc |