[Catalyst-dev] diag, not warn

David E. Wheeler david at kineticode.com
Tue Aug 5 19:47:07 BST 2008


Suggested patch for Catalyst::Manual::Tutorial::Testing:

Index: lib/Catalyst/Manual/Tutorial/Testing.pod
===================================================================
--- lib/Catalyst/Manual/Tutorial/Testing.pod	(revision 8176)
+++ lib/Catalyst/Manual/Tutorial/Testing.pod	(working copy)
@@ -314,7 +314,7 @@
  temporarily insert a line similar to the following right after the
  failed test:

-    warn $ua1->content;
+    diag $ua1->content;

  This will cause the full HTML returned by the request to be displayed.

Best,

David



More information about the Catalyst-dev mailing list