mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00: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:
@@ -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!
|
||||
|
Reference in New Issue
Block a user