summaryrefslogtreecommitdiffstats
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
parented0c6e403096a9165d1b82d9970a607eeb8e7cc7 (diff)
downloadtry-1e25dc8d1252591b4c372c5f2f686ed968679ece.tar.gz
try-1e25dc8d1252591b4c372c5f2f686ed968679ece.zip
this error changed in blead
-rw-r--r--Changes1
-rw-r--r--t/syntax.t4
2 files changed, 3 insertions, 2 deletions
diff --git a/Changes b/Changes
index 8f04961..d7397a6 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Revision history for Try
{{$NEXT}}
+ - fix test for a blead change
0.02 2012-08-20
- fix configure requires
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;