From 142f23544c7045b22e56fa6ee35808aceb6342f2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 23 Nov 2020 21:39:14 +0100 Subject: patch 8.2.2038: compiler test fails on MS-Windows Problem: Compiler test fails on MS-Windows. Solution: Sort the found compiler plugin names. --- src/testdir/test_compiler.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testdir/test_compiler.vim') 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() -- cgit v1.2.3