[Jifty-commit] jifty-plugin-emailerrors branch, master, updated. c8ddaaacb8fdd9d1794c281d3cb47ed383acbc7a

Jifty commits jifty-commit at lists.jifty.org
Mon Dec 13 22:03:59 EST 2010


The branch, master has been updated
       via  c8ddaaacb8fdd9d1794c281d3cb47ed383acbc7a (commit)
      from  e3e22e8632f8588e82ae6fd6f3a3ff59b8e6f8c4 (commit)

Summary of changes:
 t/TestApp-Plugin-EmailErrors/t/001-mason.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c8ddaaacb8fdd9d1794c281d3cb47ed383acbc7a
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Dec 13 22:02:52 2010 -0500

    Apparently 5.8.x uses a different error message here

diff --git a/t/TestApp-Plugin-EmailErrors/t/001-mason.t b/t/TestApp-Plugin-EmailErrors/t/001-mason.t
index 01d412f..eb3f119 100644
--- a/t/TestApp-Plugin-EmailErrors/t/001-mason.t
+++ b/t/TestApp-Plugin-EmailErrors/t/001-mason.t
@@ -18,7 +18,7 @@ $mech->no_warnings_ok;
 
 Jifty::Test->setup_mailbox;
 $mech->get_ok('/dereference-error.html');
-$mech->warnings_like(qr/View error: Not a HASH reference/);
+$mech->warnings_like(qr/View error: (Not a HASH reference|Can't coerce array into hash)/);
 
 my @emails = Jifty::Test->messages;
 is(@emails, 1);

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list