mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 22:31:25 -07:00
Fix logic in process_common_errors for unbalanced quotes
This commit is contained in:
parent
67517e96d3
commit
2aaecc5afa
2 changed files with 2 additions and 3 deletions
|
@ -301,8 +301,7 @@ class TestUtils(unittest.TestCase):
|
|||
self.assertTrue('same kind of quote' in ansible.utils.process_common_errors('', "foo: '{{bar}}'baz", 6))
|
||||
|
||||
# unbalanced
|
||||
# The first test fails and is commented out for now, logic is wrong and the test fails
|
||||
#self.assertTrue('We could be wrong' in ansible.utils.process_common_errors('', 'foo: "bad" "wolf"', 6))
|
||||
self.assertTrue('We could be wrong' in ansible.utils.process_common_errors('', 'foo: "bad" "wolf"', 6))
|
||||
self.assertTrue('We could be wrong' in ansible.utils.process_common_errors('', "foo: 'bad' 'wolf'", 6))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue