changeset 24373:da8b8a320bb3 v8.2.2727

patch 8.2.2727: function test fails Commit: https://github.com/vim/vim/commit/e9b8b78e046b40b877c999432c4698edb3413d5d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 6 20:18:29 2021 +0200 patch 8.2.2727: function test fails Problem: Function test fails. Solution: Adjust expected error number.
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Apr 2021 20:30:04 +0200
parents 9ca6b66bf46f
children feb7899419e7
files src/testdir/test_user_func.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_user_func.vim
+++ b/src/testdir/test_user_func.vim
@@ -150,7 +150,7 @@ func Test_default_arg()
   call assert_equal(res['0'], 1)
 
   call assert_fails("call MakeBadFunc()", 'E989:')
-  call assert_fails("fu F(a=1 ,) | endf", 'E475:')
+  call assert_fails("fu F(a=1 ,) | endf", 'E1068:')
 
   let d = Args2(7, v:none, 9)
   call assert_equal([7, 2, 9], [d.a, d.b, d.c])
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2727,
+/**/
     2726,
 /**/
     2725,