1
0
forked from aniani/vim

patch 8.2.0707: Vim9 function test fails

Problem:    Vim9 function test fails.
Solution:   Adjust expected error code.
This commit is contained in:
Bram Moolenaar
2020-05-07 14:37:19 +02:00
parent 8a1c101315
commit f391586f3f
2 changed files with 3 additions and 1 deletions

View File

@@ -656,7 +656,7 @@ enddef
def Test_unknown_function() def Test_unknown_function()
CheckDefExecFailure([ CheckDefExecFailure([
'let Ref: func = function("NotExist")', 'let Ref: func = function("NotExist")',
'delfunc g:NotExist'], 'E700:') 'delfunc g:NotExist'], 'E130:')
enddef enddef
def RefFunc(Ref: func(string): string): string def RefFunc(Ref: func(string): string): string

View File

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