changeset 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 0f149bbdc5ea
children dd0b3edad4cf
files src/testdir/test_vim9_func.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vim9_func.vim
+++ b/src/testdir/test_vim9_func.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    707,
+/**/
     706,
 /**/
     705,