148
148
compressor = self.compressor()
149
149
sha1_1, _, _, _, _ = compressor.compress(('label',),
150
150
'strange\ncommon long line\nthat needs a 16 byte match\n', None)
152
152
sha1_2, start_point, end_point, _, _ = compressor.compress(('newlabel',),
153
153
'common long line\nthat needs a 16 byte match\ndifferent\n', None)
154
154
self.assertEqual(sha_string('common long line\n'