From 647c9c558b2faad3cde4fe69501f1a2b72cc164a Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 30 Jan 2021 13:31:47 -0500 Subject: vim-patch:8.2.2038: compiler test fails on MS-Windows Problem: Compiler test fails on MS-Windows. Solution: Sort the found compiler plugin names. https://github.com/vim/vim/commit/142f23544c7045b22e56fa6ee35808aceb6342f2 --- src/nvim/testdir/test_compiler.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim index 4d1107933a..0d135c3811 100644 --- a/src/nvim/testdir/test_compiler.vim +++ b/src/nvim/testdir/test_compiler.vim @@ -39,7 +39,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