[Jifty-commit] r3067 - Template-Declare/t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Mar 27 13:43:19 EDT 2007
Author: ruz
Date: Tue Mar 27 13:43:19 2007
New Revision: 3067
Modified:
Template-Declare/t/attributes.t
Log:
* idea about adding attributes to all tags on one level
is good, but 'with' is not good candidate for that.
Fix a test to according to the current behaviour.
Modified: Template-Declare/t/attributes.t
==============================================================================
--- Template-Declare/t/attributes.t (original)
+++ Template-Declare/t/attributes.t Tue Mar 27 13:43:19 2007
@@ -86,9 +86,9 @@
{
my $simple = (show('with_with_two_blocks'));
ok($simple =~ m{^\s*
- <div\s+id="id">\s*<p>\s*This\sis\smy\scontent\s*</p>\s*</div>
- <div\s+id="id">\s*<p>\s*Another\sparagraph\s*</p>\s*</div>
- \s*$}sx);
+ <div\s+id="id">\s*<p>\s*This\sis\smy\scontent\s*</p>\s*</div>\s*
+ <div>\s*<p>\s*another\sparagraph\s*</p>\s*</div>\s*
+ $}sx);
#diag ($simple);
ok_lint($simple);
}
More information about the Jifty-commit
mailing list