patch 8.2.3708: Vim9: test fails with different error
Problem: Vim9: test fails with different error. Solution: Correct the error number.
This commit is contained in:
@ -282,8 +282,7 @@ def Test_condition_types()
|
||||
elseif 'text'
|
||||
endif
|
||||
END
|
||||
CheckDefFailure(lines, 'E1012:', 3)
|
||||
CheckScriptFailure(['vim9script'] + lines, 'E1135:', 4)
|
||||
CheckDefAndScriptFailure(lines, 'E1135:', 3)
|
||||
|
||||
lines =<< trim END
|
||||
if g:cond
|
||||
|
||||
@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3708,
|
||||
/**/
|
||||
3707,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user