]> granicus.if.org Git - vim/commitdiff
patch 8.2.4141: Vim9 builtin functions test fails v8.2.4141
authorBram Moolenaar <Bram@vim.org>
Tue, 18 Jan 2022 21:42:37 +0000 (21:42 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 18 Jan 2022 21:42:37 +0000 (21:42 +0000)
Problem:    Vim9 builtin functions test fails.
Solution:   Add "scriptversion" item to maparg() result.

src/testdir/test_vim9_builtin.vim
src/version.c

index eb86a03b9131f3c92cdcbcc17003baf6d83178c8..3747a4e19f8fe0336d2442ff1e1fa9b8b34c640a 100644 (file)
@@ -2278,6 +2278,7 @@ def Test_maparg()
         nowait: 0,
         expr: 0,
         sid: SID(),
+        scriptversion: 999999,
         rhs: 'bar',
         buffer: 0})
   unmap foo
index 670f750e79efcb6ea757540fb56f80af16d9c7a0..69707fcd5ccb1f21f0cc26b6f227d430f87d4c1e 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4141,
 /**/
     4140,
 /**/