예제 #1
0
def test_can_parse_folded_lines_with_tab():
    assert ['first second'] == list(parse.text_into_lines('first\r\n\t second'))
예제 #2
0
def test_can_parse_multiple_folded_lines():
    assert ['first second third'] == list(parse.text_into_lines('first\r\n  second\r\n  third'))
예제 #3
0
def test_can_parse_simple_lines():
    assert ['first', 'second'] == list(parse.text_into_lines('first\r\nsecond'))