Fixing unittests based on previous patch for splitting
This commit is contained in:
parent
3714c0742f
commit
8f694c7588
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue