vim-patch:8.2.0037: missing renamed message

Problem:    Missing renamed message.
Solution:   Now really add the error number.
1500a42c42
This commit is contained in:
Jan Edmund Lazo 2020-05-17 19:39:04 -04:00
parent 30ec3a067b
commit 9a8efec8fb
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -286,7 +286,7 @@ func Test_matchaddpos_error()
call assert_fails("call matchaddpos('Error', [1], 1, 123, 1)", 'E715:') call assert_fails("call matchaddpos('Error', [1], 1, 123, 1)", 'E715:')
call assert_fails("call matchaddpos('Error', [1], 1, 5, {'window':12345})", 'E957:') call assert_fails("call matchaddpos('Error', [1], 1, 5, {'window':12345})", 'E957:')
" Why doesn't the following error have an error code E...? " Why doesn't the following error have an error code E...?
call assert_fails("call matchaddpos('Error', [{}])", 'E290:') call assert_fails("call matchaddpos('Error', [{}])", 'E5031:')
endfunc endfunc
func OtherWindowCommon() func OtherWindowCommon()