##// END OF EJS Templates
py3: make tests/test-diff-antipatience.t work with python 3...
Pulkit Goyal -
r38488:9ef9884e default
parent child Browse files
Show More
@@ -88,6 +88,7 b' test-debugextensions.t'
88 test-debugindexdot.t
88 test-debugindexdot.t
89 test-debugrename.t
89 test-debugrename.t
90 test-default-push.t
90 test-default-push.t
91 test-diff-antipatience.t
91 test-diff-binary-file.t
92 test-diff-binary-file.t
92 test-diff-change.t
93 test-diff-change.t
93 test-diff-copy-depth.t
94 test-diff-copy-depth.t
@@ -11,9 +11,9 b''
11 Test case that makes use of the weakness of patience diff algorithm
11 Test case that makes use of the weakness of patience diff algorithm
12
12
13 $ hg init
13 $ hg init
14 >>> open('a', 'wb').write(b'\n'.join(list(b'a' + b'x' * 10 + b'u' + b'x' * 30 + b'a\n')))
14 >>> open('a', 'wb').write(('\n'.join(list('a' + 'x' * 10 + 'u' + 'x' * 30 + 'a\n'))).encode('ascii')) and None
15 $ hg commit -m 1 -A a
15 $ hg commit -m 1 -A a
16 >>> open('a', 'wb').write(b'\n'.join(list(b'b' + b'x' * 30 + b'u' + b'x' * 10 + b'b\n')))
16 >>> open('a', 'wb').write(('\n'.join(list('b' + 'x' * 30 + 'u' + 'x' * 10 + 'b\n'))).encode('ascii')) and None
17 #if xdiff
17 #if xdiff
18 $ hg diff
18 $ hg diff
19 diff -r f0aeecb49805 a
19 diff -r f0aeecb49805 a
General Comments 0
You need to be logged in to leave comments. Login now