From 54651f74948650bc68d6ac5b20376f2f985e80c5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 19 May 2018 15:52:11 +0200 Subject: 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) --- src/testdir/test_compiler.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/testdir/test_compiler.vim') diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim index fd3510d60b..902276d22f 100644 --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -19,9 +19,8 @@ func Test_compiler() w! call feedkeys(":make\\", '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! -- cgit v1.2.3