1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-30 07:50:43 +00:00

Remove regex related to baby-JSON parsing only.

This commit is contained in:
Michael DeHaan 2014-09-11 13:29:59 -04:00
parent 22dbb65b13
commit d6e6d2a6ca
2 changed files with 1 additions and 4 deletions

View file

@ -453,8 +453,6 @@ class TestUtils(unittest.TestCase):
'{"foo": "bar"}\n')
self.assertEqual(ansible.utils.filter_leading_non_json_lines('a\nb\nansible!\n["foo", "bar"]'),
'["foo", "bar"]\n')
self.assertEqual(ansible.utils.filter_leading_non_json_lines('a\nb\nansible!\nfoo=bar'),
'foo=bar\n')
def test_boolean(self):
self.assertEqual(ansible.utils.boolean("true"), True)