[Jifty-commit] r5105 - in Template-Declare: t

Jifty commits jifty-commit at lists.jifty.org
Thu Feb 14 13:42:52 EST 2008


Author: sartak
Date: Thu Feb 14 13:42:51 2008
New Revision: 5105

Modified:
   Template-Declare/   (props changed)
   Template-Declare/t/pitfalls.t

Log:
 r51836 at onn:  sartak | 2008-02-14 13:42:44 -0500
 Squelch a "useless use of constant in void context" test warning


Modified: Template-Declare/t/pitfalls.t
==============================================================================
--- Template-Declare/t/pitfalls.t	(original)
+++ Template-Declare/t/pitfalls.t	Thu Feb 14 13:42:51 2008
@@ -28,6 +28,7 @@
 \t\(Perhaps you're using an unknown tag in the outer container\?\)/, 'attr in an invalid tag';
 
 template inline => sub {
+    no warnings 'void';
     html::p { "hello, "; html::em { "world" } }
     html::p { html::em { 'hello' }; 'world' }
 };


More information about the Jifty-commit mailing list