[Jifty-commit] r6364 - in jifty/trunk: lib/Jifty/Test

Jifty commits jifty-commit at lists.jifty.org
Fri Feb 20 14:56:25 EST 2009


Author: alexmv
Date: Fri Feb 20 14:56:25 2009
New Revision: 6364

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Test/Email.pm

Log:
 r42364 at kohr-ah:  chmrr | 2009-02-20 14:56:08 -0500
  * diag on email match fails, to make them easier to debug


Modified: jifty/trunk/lib/Jifty/Test/Email.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test/Email.pm	(original)
+++ jifty/trunk/lib/Jifty/Test/Email.pm	Fri Feb 20 14:56:25 2009
@@ -51,7 +51,7 @@
 
         my $te = Email::Abstract->new($msg)->cast('MIME::Entity');
         bless $te, 'Test::Email';
-        $te->ok($spec, "email matched");
+        $te->ok($spec, "email matched") or diag $msg->as_string;
     }
     Jifty::Test->setup_mailbox;
 }


More information about the Jifty-commit mailing list