changeset 26780:b24b2217ff9e v8.2.3918

patch 8.2.3918: function list test fails Commit: https://github.com/vim/vim/commit/be4e223eadaa765bf2957f196e4d4b6014057bd1 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 27 21:42:57 2021 +0000 patch 8.2.3918: function list test fails Problem: Function list test fails. Solution: Adjust the test for the new location of the function list.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 22:45:04 +0100
parents edb7d53fc7e3
children ec52a9768f25
files src/testdir/test_function_lists.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_function_lists.vim
+++ b/src/testdir/test_function_lists.vim
@@ -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/(.*//
--- 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 */
 /**/
+    3918,
+/**/
     3917,
 /**/
     3916,