mirror of
https://github.com/vim/vim.git
synced 2025-10-29 09:37:35 -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:
@@ -1,7 +1,7 @@
|
|||||||
" Test to verify that the three function lists,
|
" Test to verify that the three function lists,
|
||||||
"
|
"
|
||||||
" global_functions[] in src/evalfunc.c
|
" 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
|
" *function-list* in runtime/doc/usr_41.txt
|
||||||
"
|
"
|
||||||
" contain the same functions and that the global_functions and ":help
|
" 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.
|
" Verify that the ":help functions" list is complete and in ASCII order.
|
||||||
|
|
||||||
enew!
|
enew!
|
||||||
if filereadable('../../doc/eval.txt')
|
if filereadable('../../doc/builtin.txt')
|
||||||
" unpacked MS-Windows zip archive
|
" unpacked MS-Windows zip archive
|
||||||
read ../../doc/eval.txt
|
read ../../doc/builtin.txt
|
||||||
else
|
else
|
||||||
read ../../runtime/doc/eval.txt
|
read ../../runtime/doc/builtin.txt
|
||||||
endif
|
endif
|
||||||
call search('\*functions\*$')
|
|
||||||
call search('^USAGE')
|
call search('^USAGE')
|
||||||
1,.d
|
1,.d
|
||||||
call search('\*\K\k*()\*$')
|
call search('^==========')
|
||||||
.,$d
|
.,$d
|
||||||
v/^\S/d
|
v/^\S/d
|
||||||
%s/(.*//
|
%s/(.*//
|
||||||
|
|||||||
@@ -749,6 +749,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3918,
|
||||||
/**/
|
/**/
|
||||||
3917,
|
3917,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user