[Jifty-commit] r6250 - jifty/trunk/lib/Jifty/Test

Jifty commits jifty-commit at lists.jifty.org
Fri Jan 16 04:06:31 EST 2009


Author: c9s
Date: Fri Jan 16 04:06:31 2009
New Revision: 6250

Modified:
   jifty/trunk/lib/Jifty/Test/Email.pm

Log:
 - fix jifty::test::mail doc
     no comma after block of calling mail_ok function.


Modified: jifty/trunk/lib/Jifty/Test/Email.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test/Email.pm	(original)
+++ jifty/trunk/lib/Jifty/Test/Email.pm	Fri Jan 16 04:06:31 2009
@@ -19,9 +19,8 @@
 
   mail_ok {
     # ... code
-
-  }, { from => 'admin at localhost', body => qr('hello') },
-     { from => 'admin at localhost', body => qr('hello again') };
+  } { from => 'admin at localhost', body => qr('hello') }
+    { from => 'admin at localhost', body => qr('hello again') };
 
   # ... more code
 
@@ -39,6 +38,7 @@
 =cut
 
 sub mail_ok (&@) {
+    warn Dumper( @_ );use Data::Dumper;
     my $code = shift;
     # XXX. ensure mailbox is empty; but make sure the test count is correct
     $code->();


More information about the Jifty-commit mailing list