0
0
mirror of https://github.com/vim/vim.git synced 2025-10-28 09:27:14 -04:00

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.
This commit is contained in:
Bram Moolenaar
2021-12-27 21:42:57 +00:00
parent a4d131d110
commit be4e223ead
2 changed files with 7 additions and 6 deletions

View 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/(.*//

View File

@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3918,
/**/
3917,
/**/