]> granicus.if.org Git - vim/commitdiff
patch 8.2.0707: Vim9 function test fails v8.2.0707
authorBram Moolenaar <Bram@vim.org>
Thu, 7 May 2020 12:37:19 +0000 (14:37 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 May 2020 12:37:19 +0000 (14:37 +0200)
Problem:    Vim9 function test fails.
Solution:   Adjust expected error code.

src/testdir/test_vim9_func.vim
src/version.c

index 83cef67c27d3b307348b424ad47f99144141e38e..ab5f9ecd2d259378a5343970218ba3efb48f0487 100644 (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
index ea8b2a5c1632504518163873f6d7bb484b4db0b6..c004e33e567cad450ff564aa5ba27af36ba4cefc 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    707,
 /**/
     706,
 /**/