0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

patch 8.2.3786: test fails because of using Vim9 syntax in legacy function

Problem:    Test fails because of using Vim9 syntax in legacy function.
Solution:   Add "call".
This commit is contained in:
Bram Moolenaar 2021-12-11 18:46:29 +00:00
parent 48c0196378
commit 4f16e9de98
2 changed files with 3 additions and 1 deletions

View File

@ -2239,7 +2239,7 @@ func Test_call()
let Time = 'localtime'
call Time()
END
CheckScriptFailure(lines, 'E1085:')
call CheckScriptFailure(lines, 'E1085:')
endfunc
func Test_char2nr()

View File

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