summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;