0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

patch 8.2.1593: tests do not check the error number properly

Problem:    Tests do not check the error number properly.0
Solution:   Add a colon after the error number. (closes #6869)
This commit is contained in:
Bram Moolenaar
2020-09-04 21:18:46 +02:00
parent 24f7750ffa
commit e2e4075fad
43 changed files with 172 additions and 170 deletions

View File

@@ -107,7 +107,7 @@ func Test_syntime()
call assert_notmatch('.* cppNumber*', a)
call assert_notmatch('[1-9]', a)
call assert_fails('syntime abc', 'E475')
call assert_fails('syntime abc', 'E475:')
syntax clear
let a = execute('syntime report')
@@ -718,8 +718,8 @@ func Test_syntax_foldlevel()
syntax on
set foldmethod=syntax
call assert_fails('syn foldlevel start start', 'E390')
call assert_fails('syn foldlevel not_an_option', 'E390')
call assert_fails('syn foldlevel start start', 'E390:')
call assert_fails('syn foldlevel not_an_option', 'E390:')
set foldlevel=1