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_timers.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_timers.vim')
-rw-r--r-- | src/testdir/test_timers.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim index 829e94b5d..47e2699f1 100644 --- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim @@ -422,7 +422,7 @@ func Test_timer_garbage_collect() endfunc func Test_timer_invalid_callback() - call assert_fails('call timer_start(0, "0")', 'E921') + call assert_fails('call timer_start(0, "0")', 'E921:') endfunc func Test_timer_changing_function_list() @@ -442,7 +442,7 @@ func Test_timer_changing_function_list() call term_sendkeys(buf, ":fu\<CR>") call WaitForAssert({-> assert_match('-- More --', term_getline(buf, 10))}) call term_sendkeys(buf, "G") - call WaitForAssert({-> assert_match('E454', term_getline(buf, 9))}) + call WaitForAssert({-> assert_match('E454:', term_getline(buf, 9))}) call term_sendkeys(buf, "\<Esc>") call StopVimInTerminal(buf) |