322
322
instrumented_t._calls = []
323
323
# request a last-first iteration
324
324
results = list(k1.iter_lines_added_or_present_in_versions(['base2', 'base']))
325
self.assertEqual([('id.knit', [(0, 87), (87, 90)])], instrumented_t._calls)
325
self.assertEqual([('id.knit', [(0, 87), (87, 89)])], instrumented_t._calls)
326
326
self.assertEqual(['text\n', 'text2\n'], results)
328
328
def test_create_empty_annotated(self):