]> granicus.if.org Git - vim/commitdiff
patch 8.2.3918: function list test fails v8.2.3918
authorBram Moolenaar <Bram@vim.org>
Mon, 27 Dec 2021 21:42:57 +0000 (21:42 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 27 Dec 2021 21:42:57 +0000 (21:42 +0000)
Problem:    Function list test fails.
Solution:   Adjust the test for the new location of the function list.

src/testdir/test_function_lists.vim
src/version.c

index 59180e3294e48a58b0b6a032ef0e3d856262885f..50c89f8dc2f33c0c0cfbf2130a6330859e76b673 100644 (file)
@@ -1,7 +1,7 @@
 " Test to verify that the three function lists,
 "
 "   global_functions[] in src/evalfunc.c
-"   *functions* in runtime/doc/eval.txt
+"   *functions* in runtime/doc/builtin.txt
 "   *function-list* in runtime/doc/usr_41.txt
 "
 " contain the same functions and that the global_functions and ":help
@@ -55,16 +55,15 @@ func Test_function_lists()
   " Verify that the ":help functions" list is complete and in ASCII order.
 
   enew!
-  if filereadable('../../doc/eval.txt')
+  if filereadable('../../doc/builtin.txt')
     " unpacked MS-Windows zip archive
-    read ../../doc/eval.txt
+    read ../../doc/builtin.txt
   else
-    read ../../runtime/doc/eval.txt
+    read ../../runtime/doc/builtin.txt
   endif
-  call search('\*functions\*$')
   call search('^USAGE')
   1,.d
-  call search('\*\K\k*()\*$')
+  call search('^==========')
   .,$d
   v/^\S/d
   %s/(.*//
index 1a71a53c80ff4e25f8b2910d77dd7de6fcf85409..4e6c07b9fbb116a42547ca2db88cea52cf865792 100644 (file)
@@ -749,6 +749,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3918,
 /**/
     3917,
 /**/