'After splitting into lines, each line ends with the separator.'

@given(lists(binary()), binary(min_size=1))
def test_separator_terminates(self, data, separator):

    data.append(separator)
    observed = list(_iter_lines(iter(data), separator))
    self.assertThat(observed, AllMatch(EndsWith(separator)))
