Fixing unittests based on previous patch for splitting

pull/7257/head
James Cammarata 10 years ago
parent 3714c0742f
commit 8f694c7588

@ -704,8 +704,7 @@ class TestUtils(unittest.TestCase):
_test_combo(
# in memory of neighbors cat
'a {% if x %} y {%else %} {{meow}} {% endif %} cookiechip\ndone',
# turning \n into a split point here seems a little off. We'll see if other tests care.
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', 'cookiechip', 'done']
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', 'cookiechip\ndone']
)
# invalid jinja2 nesting detection

Loading…
Cancel
Save