[Catalyst-dev] diag, not warn
Matt S Trout
dbix-class at trout.me.uk
Fri Aug 8 02:47:03 BST 2008
On Tue, Aug 05, 2008 at 11:47:07AM -0700, David E. Wheeler wrote:
> 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.
Remind me why this is better?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst-dev
mailing list