From: Father Chrysostomos Date: Sun, 28 Sep 2014 19:05:11 +0000 (-0700) Subject: fix test for 5.21.4 (RT#99195) X-Git-Tag: v0.001001~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flib-with-preamble.git;a=commitdiff_plain;h=b8ba3341be4173bf3450bb26030843779163c8fc fix test for 5.21.4 (RT#99195) --- diff --git a/t/strict.t b/t/strict.t index 57954b1..7f2b328 100644 --- a/t/strict.t +++ b/t/strict.t @@ -7,4 +7,4 @@ ok( 'strict example dies' ); -like($@, qr{Global symbol "\$orz" requires explicit package name at \S+lib/with/preamble/example/strict.pm line 3}, 'Error has right name and line'); +like($@, qr{Global symbol "\$orz" requires explicit package name(?: \([^)]+\))? at \S+lib/with/preamble/example/strict.pm line 3}, 'Error has right name and line');