85
85
self.assertEqual(['c 0 1 2 3\n'],
86
86
list(multiparent.ParentText(0, 1, 2, 3).to_patch()))
91
def add_version(self, vf, text, version_id, parent_ids):
96
self.add_version(vf, 'abcd', 'rev-a', [])
97
self.assertEqual(vf._lines['rev-a'], ['a\n', 'b\n', 'c\n', 'd\n'])