Mercurial > hg
diff tests/test-bdiff.py.out @ 30427:ede7bc45bf0a
tests: make test-bdiff.py easier to maintain
Add more stdout logging to help navigate the .out file.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 15 Nov 2016 21:56:49 +0100 |
parents | 9a8363d23419 |
children | 3743e5dbb824 |
line wrap: on
line diff
--- a/tests/test-bdiff.py.out Thu Nov 17 08:52:52 2016 -0800 +++ b/tests/test-bdiff.py.out Tue Nov 15 21:56:49 2016 +0100 @@ -1,27 +1,44 @@ -*** 'a\nc\n\n\n\n' 'a\nb\n\n\n' -*** 'a\nb\nc\n' 'a\nc\n' -*** '' '' -*** 'a\nb\nc' 'a\nb\nc' -*** 'a\nb\nc\nd\n' 'a\nd\n' -*** 'a\nb\nc\nd\n' 'a\nc\ne\n' -*** 'a\nb\nc\n' 'a\nc\n' -*** 'a\n' 'c\na\nb\n' -*** 'a\n' '' -*** 'a\n' 'b\nc\n' -*** 'a\n' 'c\na\n' -*** '' 'adjfkjdjksdhfksj' -*** '' 'ab' -*** '' 'abc' -*** 'a' 'a' -*** 'ab' 'ab' -*** 'abc' 'abc' -*** 'a\n' 'a\n' -*** 'a\nb' 'a\nb' -6 6 'y\n\n' -6 6 'y\n\n' -9 9 'y\n\n' -0 0 'a\nb\nb\n' -12 12 'b\nc\n.\n' -16 18 '' +test 'a\nc\n\n\n\n' 'a\nb\n\n\n' +test 'a\nb\nc\n' 'a\nc\n' +test '' '' +test 'a\nb\nc' 'a\nb\nc' +test 'a\nb\nc\nd\n' 'a\nd\n' +test 'a\nb\nc\nd\n' 'a\nc\ne\n' +test 'a\nb\nc\n' 'a\nc\n' +test 'a\n' 'c\na\nb\n' +test 'a\n' '' +test 'a\n' 'b\nc\n' +test 'a\n' 'c\na\n' +test '' 'adjfkjdjksdhfksj' +test '' 'ab' +test '' 'abc' +test 'a' 'a' +test 'ab' 'ab' +test 'abc' 'abc' +test 'a\n' 'a\n' +test 'a\nb' 'a\nb' +showdiff( + 'x\n\nx\n\nx\n\nx\n\nz\n', + 'x\n\nx\n\ny\n\nx\n\nx\n\nz\n'): + 'x\n\nx\n\n' + 6 6 '' -> 'y\n\n' + 'x\n\nx\n\nz\n' +showdiff( + 'x\n\nx\n\nx\n\nx\n\nz\n', + 'x\n\nx\n\ny\n\nx\n\ny\n\nx\n\nz\n'): + 'x\n\nx\n\n' + 6 6 '' -> 'y\n\n' + 'x\n\n' + 9 9 '' -> 'y\n\n' + 'x\n\nz\n' +showdiff( + 'a\nb\nb\nb\nc\n.\nd\ne\n.\nf\n', + 'a\nb\nb\na\nb\nb\nb\nc\n.\nb\nc\n.\nd\ne\nf\n'): + 0 0 '' -> 'a\nb\nb\n' + 'a\nb\nb\nb\nc\n.\n' + 12 12 '' -> 'b\nc\n.\n' + 'd\ne\n' + 16 18 '.\n' -> '' + 'f\n' done done