mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
parent
bac97c8321
commit
317ab06bc6
3 changed files with 25 additions and 25 deletions
|
@ -715,7 +715,7 @@ class TestUtils(unittest.TestCase):
|
|||
# in memory of neighbors cat
|
||||
# we preserve line breaks unless a line continuation character preceeds them
|
||||
'a {% if x %} y {%else %} {{meow}} {% endif %} "cookie\nchip" \\\ndone\nand done',
|
||||
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', '"cookie\nchip"', 'done', '\nand', 'done']
|
||||
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', '"cookie\nchip"', 'done\n', 'and', 'done']
|
||||
)
|
||||
|
||||
# test space preservation within quotes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue