]> granicus.if.org Git - vim/commitdiff
patch 8.2.2727: function test fails v8.2.2727
authorBram Moolenaar <Bram@vim.org>
Tue, 6 Apr 2021 18:18:29 +0000 (20:18 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 6 Apr 2021 18:18:29 +0000 (20:18 +0200)
Problem:    Function test fails.
Solution:   Adjust expected error number.

src/testdir/test_user_func.vim
src/version.c

index 2db558931daf05176de865db75eacd112f33d673..a58aa64b9de60fade7a65a2ecb9a7acd2d99f225 100644 (file)
@@ -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])
index 9b356bd267692a81ca5d3bbe886fe59501a04db8..0abdbe50c1fef2cf2cf11753955333a300ee1724 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2727,
 /**/
     2726,
 /**/