Incorporate patch to support isolated CR

This commit is contained in:
mtkennerly 2018-10-13 19:44:02 -04:00
parent 2ab5832ce1
commit e694a6cfc2
2 changed files with 8 additions and 4 deletions

View file

@ -17,6 +17,8 @@ TESTS = (
(b'\xe2\x98\x83', 1, b'\xe2\x98\x83\n'),
(b'foo\r\n', 0, b'foo\r\n'),
(b'foo\r\n\r\n\r\n', 1, b'foo\r\n'),
(b'foo\r', 0, b'foo\r'),
(b'foo\r\r\r\r', 1, b'foo\r'),
)