0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0900: function list test fails on MS-Windows

Problem:    Function list test fails on MS-Windows.
Solution:   Make sure the fileformat is "unix"
This commit is contained in:
Bram Moolenaar
2020-06-04 17:19:05 +02:00
parent 30cc44a97f
commit 9155825b24
2 changed files with 4 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ func Test_function_lists()
%s/^ {"// %s/^ {"//
%s/".*// %s/".*//
sort u sort u
w! Xsorted_current_global_functions w! ++ff=unix Xsorted_current_global_functions
" Verify that the ":help functions" list is complete and in ASCII order. " Verify that the ":help functions" list is complete and in ASCII order.
@@ -84,7 +84,7 @@ func Test_function_lists()
%s/(.*// %s/(.*//
%left %left
sort u sort u
w! Xfunction-list w! ++ff=unix Xfunction-list
let l:unequal = assert_equalfile("Xsorted_current_global_functions", "Xfunction-list", let l:unequal = assert_equalfile("Xsorted_current_global_functions", "Xfunction-list",
\ "\":help functions-list\" incomplete") \ "\":help functions-list\" incomplete")
if l:unequal && executable("diff") if l:unequal && executable("diff")
@@ -92,7 +92,6 @@ func Test_function_lists()
endif endif
" Clean up. " Clean up.
call delete("Xglobal_functions") call delete("Xglobal_functions")
call delete("Xsorted_global_functions") call delete("Xsorted_global_functions")
call delete("Xsorted_current_global_functions") call delete("Xsorted_current_global_functions")

View File

@@ -746,6 +746,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 */
/**/
900,
/**/ /**/
899, 899,
/**/ /**/