1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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