patch 8.2.2038: compiler test fails on MS-Windows
Problem: Compiler test fails on MS-Windows.
Solution: Sort the found compiler plugin names.
diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim
index ffafd5b..ecf8083 100644
--- a/src/testdir/test_compiler.vim
+++ b/src/testdir/test_compiler.vim
@@ -43,7 +43,8 @@
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()