[Jifty-commit] r3835 - Template-Declare/t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Aug 10 04:39:59 EDT 2007
Author: agentz
Date: Fri Aug 10 04:37:47 2007
New Revision: 3835
Modified:
Template-Declare/t/alternative.t
Log:
TD - fixed the 'base' problem by specifying the alternate spelling 'html_base' for 'base' (in the previous commit) and added unit tests for it (in this commit). should be no regressions caused by TD in jifty's trunk. thanks clkao++ for reporting it
Modified: Template-Declare/t/alternative.t
==============================================================================
--- Template-Declare/t/alternative.t (original)
+++ Template-Declare/t/alternative.t Fri Aug 10 04:37:47 2007
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More tests => 5;
+use Test::More tests => 7;
package MyApp::Templates;
@@ -14,6 +14,10 @@
::ok $@, 'tr is invalid';
::like $@, qr/Transliteration replacement not terminated/;
+eval "base { 'hi' }";
+::ok $@;
+::like $@, qr/Can't locate object method "base"/;
+
package MyApp::Templates2;
use base 'Template::Declare';
More information about the Jifty-commit
mailing list