]> granicus.if.org Git - vim/commitdiff
patch 8.2.2038: compiler test fails on MS-Windows v8.2.2038
authorBram Moolenaar <Bram@vim.org>
Mon, 23 Nov 2020 20:39:14 +0000 (21:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 23 Nov 2020 20:39:14 +0000 (21:39 +0100)
Problem:    Compiler test fails on MS-Windows.
Solution:   Sort the found compiler plugin names.

src/testdir/test_compiler.vim
src/version.c

index ffafd5be2133d24096b112e4b5b392e3a1e6e0c2..ecf8083cf377eb4f075c8e86df6d3ad7cdab91b2 100644 (file)
@@ -43,7 +43,8 @@ endfunc
 
 func GetCompilerNames()
   return glob('$VIMRUNTIME/compiler/*.vim', 0, 1)
-        \ ->map({k, v -> substitute(v, '.*[\\/]\([a-zA-Z0-9_\-]*\).vim', '\1', '')})
+        \ ->map({i, v -> substitute(v, '.*[\\/]\([a-zA-Z0-9_\-]*\).vim', '\1', '')})
+        \ ->sort()
 endfunc
 
 func Test_compiler_without_arg()
index 95d4507187f9c473e060538c585cda80d0438347..1f1d3a64f9fe9e13b1200d796428c9700a10d6d1 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2038,
 /**/
     2037,
 /**/