mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Fixing unittests based on previous patch for splitting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user