diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py
index 35d0122..daf9c97 100644
a
|
b
|
class Templates(unittest.TestCase):
|
1471 | 1471 | |
1472 | 1472 | 'with03': ('{% with a=alpha b=beta %}{{ a }}{{ b }}{% endwith %}', {'alpha': 'A', 'beta': 'B'}, 'AB'), |
1473 | 1473 | |
| 1474 | # don't change semantics by using the with tag |
| 1475 | 'with04': ('{% if A == "" %}A{% endif %}{% with B=A %}{% if B == "" %}B{% endif %}{% endwith %}', {}, ''), |
| 1476 | |
1474 | 1477 | 'with-error01': ('{% with dict.key xx key %}{{ key }}{% endwith %}', {'dict': {'key': 50}}, template.TemplateSyntaxError), |
1475 | 1478 | 'with-error02': ('{% with dict.key as %}{{ key }}{% endwith %}', {'dict': {'key': 50}}, template.TemplateSyntaxError), |
1476 | 1479 | |