Skip to content

Commit 142f235

Browse files
committed
patch 8.2.2038: compiler test fails on MS-Windows
Problem: Compiler test fails on MS-Windows. Solution: Sort the found compiler plugin names.
1 parent 60bc8e7 commit 142f235

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/test_compiler.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ endfunc
4343

4444
func GetCompilerNames()
4545
return glob('$VIMRUNTIME/compiler/*.vim', 0, 1)
46-
\ ->map({k, v -> substitute(v, '.*[\\/]\([a-zA-Z0-9_\-]*\).vim', '\1', '')})
46+
\ ->map({i, v -> substitute(v, '.*[\\/]\([a-zA-Z0-9_\-]*\).vim', '\1', '')})
47+
\ ->sort()
4748
endfunc
4849

4950
func Test_compiler_without_arg()

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2038,
753755
/**/
754756
2037,
755757
/**/

0 commit comments

Comments
 (0)