summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_compiler.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-23 21:39:14 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-23 21:39:14 +0100
commit142f23544c7045b22e56fa6ee35808aceb6342f2 (patch)
tree4eb54a37dc772560a4782eb562bdb0e00709bc6f /src/testdir/test_compiler.vim
parent60bc8e7244080b7ead009cfabebc3401f272ddbe (diff)
patch 8.2.2038: compiler test fails on MS-Windowsv8.2.2038
Problem: Compiler test fails on MS-Windows. Solution: Sort the found compiler plugin names.
Diffstat (limited to 'src/testdir/test_compiler.vim')
-rw-r--r--src/testdir/test_compiler.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim
index ffafd5be21..ecf8083cf3 100644
--- a/src/testdir/test_compiler.vim
+++ b/src/testdir/test_compiler.vim
@@ -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()