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.
0a15c7676b
This commit is contained in:
zeertzjq 2022-01-21 18:18:18 +08:00
parent 792381e1a0
commit f2dbeca863

View File

@ -20,7 +20,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!