It's now possible to use ``{{ foo.0.0 }}``
--HG--
branch : trunk
diff --git a/tests/test_syntax.py b/tests/test_syntax.py
index 29b3974..157720f 100644
--- a/tests/test_syntax.py
+++ b/tests/test_syntax.py
@@ -26,7 +26,7 @@
BOOL = '''{{ true and false }}|{{ false or true }}|{{ not false }}'''
GROUPING = '''{{ (true and false) or (false and true) and not false }}'''
CONDEXPR = '''{{ 0 if true else 1 }}'''
-DJANGOATTR = '''{{ [1, 2, 3].0 }}'''
+DJANGOATTR = '''{{ [1, 2, 3].0 }}|{{ [[1]].0.0 }}'''
FILTERPRIORITY = '''{{ "foo"|upper + "bar"|upper }}'''
TUPLETEMPLATES = [
'{{ () }}',
@@ -116,7 +116,7 @@
def test_django_attr(env):
tmpl = env.from_string(DJANGOATTR)
- assert tmpl.render() == '1'
+ assert tmpl.render() == '1|1'
def test_conditional_expression(env):