89
89
k = KnitVersionedFile('test', LocalTransport('.'), delta=False, create=True)
90
90
k.add_lines('text-1', [], ['a\n', 'b' ])
91
91
k.add_lines('text-2', ['text-1'], ['a\rb\n', 'b\n'])
93
k = KnitVersionedFile('test', LocalTransport('.'), delta=False, create=True)
92
94
self.assertEquals(k.get_lines('text-1'), ['a\n', 'b' ])
93
95
self.assertEquals(k.get_lines('text-2'), ['a\rb\n', 'b\n'])