mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
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:
parent
792381e1a0
commit
f2dbeca863
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user