fix test for 5.21.4 (RT#99195)
[p5sagit/lib-with-preamble.git] / t / strict.t
index 57954b1..7f2b328 100644 (file)
@@ -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');