671
674
# Make sure that we can detect if a weave file has
672
675
# been corrupted. This doesn't test all forms of corruption,
673
676
# but it at least helps verify the data you get, is what you want.
677
679
w.add_lines('v1', [], ['hello\n'])
678
680
w.add_lines('v2', ['v1'], ['hello\n', 'there\n'])
683
685
# Because we are corrupting, we need to make sure we have the exact text