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:
@@ -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/(.*//
|
||||
|
||||
@@ -749,6 +749,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3918,
|
||||
/**/
|
||||
3917,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user