vim-patch:8.1.0004: test for :compiler command sometimes fails

Problem:    Test for :compiler command sometimes fails.
Solution:   Be less strict about the error message. (Dominique Pelle)
54651f7494
This commit is contained in:
Jan Edmund Lazo
2018-08-06 22:54:09 -04:00
parent f9f37193d1
commit 196cc13130

View File

@@ -19,9 +19,8 @@ func Test_compiler()
w!
call feedkeys(":make\<CR>\<CR>", 'tx')
let a=execute('clist')
call assert_equal("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
\ . "requires explicit package name "
\ . "(did you forget to declare \"my $foo\"?)", a)
call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
\ . "requires explicit package name", a)
call delete('Xfoo.pl')
bw!