1
0
forked from aniani/vim

patch 8.2.3587: compiler test fails with backslash file separator

Problem:    Compiler test fails with backslash file separator.
Solution:   Accept slash and backslash.
This commit is contained in:
Bram Moolenaar
2021-11-12 16:09:54 +00:00
parent 326e7da609
commit 0a15c7676b
2 changed files with 3 additions and 1 deletions

View File

@@ -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!

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3587,
/**/
3586,
/**/