diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-19 10:33:00 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-19 10:33:00 -0500 |
commit | 6779081b32cfb237062da8bc623a27d47301ce4c (patch) | |
tree | fc3372c916cfc9efc61cccffde74528772532b37 /test/test_decorators.py | |
parent | 76e622b46ef71eddfbcd1232ee08b4e55c88c363 (diff) | |
download | mako-6779081b32cfb237062da8bc623a27d47301ce4c.tar.gz |
- now that trailing whitespace comes up in red, need to get rid of it
Diffstat (limited to 'test/test_decorators.py')
-rw-r--r-- | test/test_decorators.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_decorators.py b/test/test_decorators.py index 62ba360..fc8768b 100644 --- a/test/test_decorators.py +++ b/test/test_decorators.py @@ -12,11 +12,11 @@ class DecoratorTest(unittest.TestCase): return "BAR" + runtime.capture(context, fn, *args, **kw) + "BAR" return decorate %> - + <%def name="foo(y, x)" decorator="bar"> this is foo ${y} ${x} </%def> - + ${foo(1, x=5)} """) @@ -56,7 +56,7 @@ class DecoratorTest(unittest.TestCase): %> <%def name="foo()"> - + <%def name="bar()" decorator="bat"> this is bar </%def> @@ -67,7 +67,7 @@ class DecoratorTest(unittest.TestCase): """) assert flatten_result(template.render()) == "BAT this is bar BAT" - + def test_toplevel_decorated_name(self): template = Template(""" <%! @@ -107,4 +107,4 @@ class DecoratorTest(unittest.TestCase): """) assert flatten_result(template.render()) == "function bar this is bar" - + |