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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user