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()
|
||||
CheckDefExecFailure([
|
||||
'let Ref: func = function("NotExist")',
|
||||
'delfunc g:NotExist'], 'E700:')
|
||||
'delfunc g:NotExist'], 'E130:')
|
||||
enddef
|
||||
|
||||
def RefFunc(Ref: func(string): string): string
|
||||
|
||||
Reference in New Issue
Block a user