summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-01-09 02:46:36 -0600
committerJesse Luehrs <doy@tozt.net>2013-01-09 02:46:57 -0600
commit1e25dc8d1252591b4c372c5f2f686ed968679ece (patch)
treef5b1c4a9320d611b59e96a0572fe596ad20164e3 /t
parented0c6e403096a9165d1b82d9970a607eeb8e7cc7 (diff)
downloadtry-1e25dc8d1252591b4c372c5f2f686ed968679ece.tar.gz
try-1e25dc8d1252591b4c372c5f2f686ed968679ece.zip
this error changed in blead
Diffstat (limited to '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;