Skip to content

Commit

Permalink
[test/compat] compat_shlex_split: test with newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeMF authored and dstftw committed Jun 30, 2016
1 parent 9e29ef1 commit a9eede3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '''
Expand Down

0 comments on commit a9eede3

Please sign in to comment.