# HG changeset patch # User Bram Moolenaar # Date 1636733705 -3600 # Node ID efc174960b108bd3ee55524e68206eb98f4f09d1 # Parent 0cb9d0a3a9b24cf25a9c5b1352a0f5f351faf5b9 patch 8.2.3587: compiler test fails with backslash file separator Commit: https://github.com/vim/vim/commit/0a15c7676bccb0c9483579106318e785c6e40a7f Author: Bram Moolenaar Date: Fri Nov 12 16:09:54 2021 +0000 patch 8.2.3587: compiler test fails with backslash file separator Problem: Compiler test fails with backslash file separator. Solution: Accept slash and backslash. diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -22,7 +22,7 @@ func Test_compiler() call assert_fails('let g:current_compiler', 'E121:') let verbose_efm = execute('verbose set efm') - call assert_match('Last set from .*/compiler/perl.vim ', verbose_efm) + call assert_match('Last set from .*[/\\]compiler[/\\]perl.vim ', verbose_efm) call setline(1, ['#!/usr/bin/perl -w', 'use strict;', 'my $foo=1']) w! diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3587, +/**/ 3586, /**/ 3585,