aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Dancer/files/patch-02_exceptions.t
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Dancer/files/patch-02_exceptions.t')
-rw-r--r--www/p5-Dancer/files/patch-02_exceptions.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/p5-Dancer/files/patch-02_exceptions.t b/www/p5-Dancer/files/patch-02_exceptions.t
new file mode 100644
index 000000000000..e9872da193b8
--- /dev/null
+++ b/www/p5-Dancer/files/patch-02_exceptions.t
@@ -0,0 +1,11 @@
+--- t/25_exceptions/02_exceptions.t.orig 2012-05-27 13:36:12.711337363 +0900
++++ t/25_exceptions/02_exceptions.t 2012-05-27 13:36:35.595803613 +0900
+@@ -130,7 +130,7 @@
+ };
+ };
+ ok(! $@);
+- is($e, 'wrong login (login was douglas)');
++ like($e, qr/wrong login \(login was douglas\)/);
+ # check stringification works in other cases
+ ok($e eq 'wrong login (login was douglas)');
+ ok('wrong login (login was douglas)' eq $e);