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