mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -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:
@@ -308,7 +308,7 @@ endfunc
|
||||
|
||||
func Test_lambda_error()
|
||||
" This was causing a crash
|
||||
call assert_fails('ec{@{->{d->()()', 'E15')
|
||||
call assert_fails('ec{@{->{d->()()', 'E15:')
|
||||
endfunc
|
||||
|
||||
func Test_closure_error()
|
||||
|
Reference in New Issue
Block a user