0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

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:
Bram Moolenaar
2021-11-30 21:39:39 +00:00
parent 90770b746e
commit 69535d8a0a
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3708,
/**/
3707,
/**/