Mercurial > hg
comparison tests/test-bdiff.py.out @ 30591:1b393a93a7df
tests: migrate test-bdiff.py to use unittest (part 1 of 4)
This moves all the test() calls, which were easy and mechanical.
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Dec 2016 10:10:15 -0500 |
parents | 7c0c722d568d |
children | 0d8cada9998d |
comparison
equal
deleted
inserted
replaced
30590:74eecb93c617 | 30591:1b393a93a7df |
---|---|
1 test 'a\nc\n\n\n\n' 'a\nb\n\n\n' | |
2 test 'a\nb\nc\n' 'a\nc\n' | |
3 test '' '' | |
4 test 'a\nb\nc' 'a\nb\nc' | |
5 test 'a\nb\nc\nd\n' 'a\nd\n' | |
6 test 'a\nb\nc\nd\n' 'a\nc\ne\n' | |
7 test 'a\nb\nc\n' 'a\nc\n' | |
8 test 'a\n' 'c\na\nb\n' | |
9 test 'a\n' '' | |
10 test 'a\n' 'b\nc\n' | |
11 test 'a\n' 'c\na\n' | |
12 test '' 'adjfkjdjksdhfksj' | |
13 test '' 'ab' | |
14 test '' 'abc' | |
15 test 'a' 'a' | |
16 test 'ab' 'ab' | |
17 test 'abc' 'abc' | |
18 test 'a\n' 'a\n' | |
19 test 'a\nb' 'a\nb' | |
20 showdiff( | 1 showdiff( |
21 'x\n\nx\n\nx\n\nx\n\nz\n', | 2 'x\n\nx\n\nx\n\nx\n\nz\n', |
22 'x\n\nx\n\ny\n\nx\n\nx\n\nz\n'): | 3 'x\n\nx\n\ny\n\nx\n\nx\n\nz\n'): |
23 'x\n\nx\n\n' | 4 'x\n\nx\n\n' |
24 6 6 '' -> 'y\n\n' | 5 6 6 '' -> 'y\n\n' |