Fixing unittests based on previous patch for splitting

This commit is contained in:
James Cammarata 2014-07-25 13:42:10 -05:00
parent 3714c0742f
commit 8f694c7588

View file

@ -704,8 +704,7 @@ class TestUtils(unittest.TestCase):
_test_combo( _test_combo(
# in memory of neighbors cat # in memory of neighbors cat
'a {% if x %} y {%else %} {{meow}} {% endif %} cookiechip\ndone', '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\ndone']
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', 'cookiechip', 'done']
) )
# invalid jinja2 nesting detection # invalid jinja2 nesting detection