commit | 0a2ac69bb97370591306f396b693b93af67726fd | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Tue May 13 01:03:08 2008 +0200 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Tue May 13 01:03:08 2008 +0200 |
tree | f6ed9c0a60202f85e21b0790e96c6e33cc63fd73 | |
parent | 69e12dbb951fad8bfb7e92b8b3060aff288b5b98 [diff] [blame] |
switched back to explicit set for assignments. {% foo = 42 %} becomes {% set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit. --HG-- branch : trunk
diff --git a/tests/test_macros.py b/tests/test_macros.py index 74594d3..5958250 100644 --- a/tests/test_macros.py +++ b/tests/test_macros.py
@@ -40,7 +40,7 @@ ''' CALLERUNDEFINED = '''\ -{% caller = 42 %}\ +{% set caller = 42 %}\ {% macro test() %}{{ caller is not defined }}{% endmacro %}\ {{ test() }}\ '''