diff --git a/test/test_compat.py b/test/test_compat.py index f5317ac3e2..1d7ac9f169 100644 --- a/test/test_compat.py +++ b/test/test_compat.py @@ -87,6 +87,7 @@ def test_compat_urllib_parse_urlencode(self): def test_compat_shlex_split(self): self.assertEqual(compat_shlex_split('-option "one two"'), ['-option', 'one two']) + self.assertEqual(compat_shlex_split('-option "one\ntwo" \n -flag'), ['-option', 'one\ntwo', '-flag']) def test_compat_etree_fromstring(self): xml = '''