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:
Jan Edmund Lazo 2019-09-18 21:52:37 -04:00
parent 690cd4f012
commit 1c71a3c657
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -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')