From e9b8b78e046b40b877c999432c4698edb3413d5d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 6 Apr 2021 20:18:29 +0200 Subject: [PATCH] patch 8.2.2727: function test fails Problem: Function test fails. Solution: Adjust expected error number. --- src/testdir/test_user_func.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_user_func.vim b/src/testdir/test_user_func.vim index 2db558931..a58aa64b9 100644 --- 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]) diff --git a/src/version.c b/src/version.c index 9b356bd26..0abdbe50c 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2727, /**/ 2726, /**/ -- 2.50.1