X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F30-scope.t;fp=t%2F30-scope.t;h=f769de66fe59e2d721e0a82671d76aea7c01c69e;hp=1e1dcf3d8fe7c2123521fc89cb70e6c3e3467da4;hb=cfbd22399e253cbac1aad5436d2b191082befe14;hpb=f0156ba56d815d220b7f943d5f34cd726488c5db diff --git a/t/30-scope.t b/t/30-scope.t index 1e1dcf3..f769de6 100644 --- a/t/30-scope.t +++ b/t/30-scope.t @@ -12,7 +12,7 @@ my %wrong = map { $_ => 1 } 2, 3, 5, 7, 9, 10, 14, 15, 17, 18; sub expect { my ($pkg) = @_; - return qr/^warn:Indirect\s+call\s+of\s+method\s+"new"\s+on\s+object\s+"$pkg"/; + return qr/^warn:Indirect\s+call\s+of\s+method\s+"new"\s+on\s+object\s+"$pkg"\s+at\s+\(eval\s+\d+\)\s+line\s+\d+/; } {