aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-30 13:31:47 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-30 13:37:26 -0500
commit647c9c558b2faad3cde4fe69501f1a2b72cc164a (patch)
tree85f2f8621af3c3593c5df869f3509bbe3f46b503 /src
parent8aae1521e5d8e6d6b16d58e218b57a72801beefe (diff)
downloadrneovim-647c9c558b2faad3cde4fe69501f1a2b72cc164a.tar.gz
rneovim-647c9c558b2faad3cde4fe69501f1a2b72cc164a.tar.bz2
rneovim-647c9c558b2faad3cde4fe69501f1a2b72cc164a.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_compiler.vim3
1 files changed, 2 insertions, 1 deletions
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()