]> granicus.if.org Git - vim/commitdiff
patch 8.2.0900: function list test fails on MS-Windows v8.2.0900
authorBram Moolenaar <Bram@vim.org>
Thu, 4 Jun 2020 15:19:05 +0000 (17:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 4 Jun 2020 15:19:05 +0000 (17:19 +0200)
Problem:    Function list test fails on MS-Windows.
Solution:   Make sure the fileformat is "unix"

src/testdir/test_function_lists.vim
src/version.c

index 609b9bff3308b111cbc2cbbe0fddfe075bbfb64e..fab3363953eb0280d2d1ede0f4003ede6ef64d20 100644 (file)
@@ -50,7 +50,7 @@ func Test_function_lists()
   %s/^    {"//
   %s/".*//
   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.
 
@@ -84,7 +84,7 @@ func Test_function_lists()
   %s/(.*//
   %left
   sort u
-  w! Xfunction-list
+  w! ++ff=unix Xfunction-list
   let l:unequal = assert_equalfile("Xsorted_current_global_functions", "Xfunction-list",
       \ "\":help functions-list\" incomplete")
   if l:unequal && executable("diff")
@@ -92,7 +92,6 @@ func Test_function_lists()
   endif
 
   " Clean up.
-
   call delete("Xglobal_functions")
   call delete("Xsorted_global_functions")
   call delete("Xsorted_current_global_functions")
index 462e772ec5bc6218ee9770dfcfcf785678015630..2c22af411ebe9806cd694c5c87e8f8adfc1ad22c 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    900,
 /**/
     899,
 /**/