comparison src/testdir/test_vim9_func.vim @ 20303:98e7b880b7b1 v8.2.0707

patch 8.2.0707: Vim9 function test fails Commit: https://github.com/vim/vim/commit/f391586f3f6a304d3bb0160ab75bdd9d758bd2da Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 7 14:37:19 2020 +0200 patch 8.2.0707: Vim9 function test fails Problem: Vim9 function test fails. Solution: Adjust expected error code.
author Bram Moolenaar <Bram@vim.org>
date Thu, 07 May 2020 14:45:04 +0200
parents bc2c9ea94ec1
children fc2d76e0994c
comparison
equal deleted inserted replaced
20302:0f149bbdc5ea 20303:98e7b880b7b1
654 enddef 654 enddef
655 655
656 def Test_unknown_function() 656 def Test_unknown_function()
657 CheckDefExecFailure([ 657 CheckDefExecFailure([
658 'let Ref: func = function("NotExist")', 658 'let Ref: func = function("NotExist")',
659 'delfunc g:NotExist'], 'E700:') 659 'delfunc g:NotExist'], 'E130:')
660 enddef 660 enddef
661 661
662 def RefFunc(Ref: func(string): string): string 662 def RefFunc(Ref: func(string): string): string
663 return Ref('more') 663 return Ref('more')
664 enddef 664 enddef