summaryrefslogtreecommitdiff
path: root/lib/Carp.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Carp.t')
-rw-r--r--lib/Carp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Carp.t b/lib/Carp.t
index 2ea98d86d7..cc2da1744c 100644
--- a/lib/Carp.t
+++ b/lib/Carp.t
@@ -11,7 +11,7 @@ print "ok 1\n";
$SIG{__WARN__} = sub {
print "ok $1\n"
- if $_[0] =~ m!ok (\d+)$! };
+ if $_[0] =~ m!ok (\d+)\n at .+\b(?i:carp\.t) line \d+$! };
carp "ok 2\n";