mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.2054: compiler test for Perl may fail
Problem: Compiler test for Perl may fail.
Solution: Accept any error line number. (James McCoy, closes vim/vim#4944)
cebfcffa40
This commit is contained in:
parent
690cd4f012
commit
1c71a3c657
@ -28,8 +28,9 @@ func Test_compiler()
|
|||||||
w!
|
w!
|
||||||
call feedkeys(":make\<CR>\<CR>", 'tx')
|
call feedkeys(":make\<CR>\<CR>", 'tx')
|
||||||
let a=execute('clist')
|
let a=execute('clist')
|
||||||
call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
|
call assert_match('\n \d\+ Xfoo.pl:3: Global symbol "$foo" '
|
||||||
\ . "requires explicit package name", a)
|
\ . 'requires explicit package name', a)
|
||||||
|
|
||||||
|
|
||||||
let &shellslash = save_shellslash
|
let &shellslash = save_shellslash
|
||||||
call delete('Xfoo.pl')
|
call delete('Xfoo.pl')
|
||||||
|
Loading…
Reference in New Issue
Block a user