Commit 69a49b54 by James Cammarata

Fixing unittests based on previous patch for splitting

parent 217fceb1
...@@ -703,8 +703,7 @@ class TestUtils(unittest.TestCase): ...@@ -703,8 +703,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment