summaryrefslogtreecommitdiffstats
path: root/t/syntax.t
diff options
context:
space:
mode:
Diffstat (limited to 't/syntax.t')
-rw-r--r--t/syntax.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/syntax.t b/t/syntax.t
index 2ca4559..93414fe 100644
--- a/t/syntax.t
+++ b/t/syntax.t
@@ -16,7 +16,7 @@ catch {
}
like(
$err,
- qr/Can't call method "finallyy" without a package or object reference at /,
+ qr/Can't call method "finallyy" without a package or object reference at |Can't locate object method "finallyy" via package "1" \(perhaps you forgot to load "1"\?\) at /,
);
try {
@@ -27,7 +27,7 @@ catch {
}
like(
$err,
- qr/Can't call method "catch" without a package or object reference at /,
+ qr/Can't call method "catch" without a package or object reference at |Can't locate object method "catch" via package "1" \(perhaps you forgot to load "1"\?\) at /,
);
done_testing;