##// END OF EJS Templates
test: end printed diff "hunks" with an empty string in test-context.py...
Denis Laxalde -
r31270:59aec562 default
parent child Browse files
Show More
@@ -59,7 +59,7 b' print(ctxb.status(ctxa))'
59 59 # test performing a diff on a memctx
60 60
61 61 for d in ctxb.diff(ctxa, git=True):
62 print(d)
62 print(d, end='')
63 63
64 64 # test safeness and correctness of "ctx.status()"
65 65 print('= checking context.status():')
@@ -4,13 +4,11 b' Latin-1 : Gr\xfcezi!'
4 4 UTF-8 : Grüezi!
5 5 <status modified=['foo'], added=[], removed=[], deleted=[], unknown=[], ignored=[], clean=[]>
6 6 diff --git a/foo b/foo
7
8 7 --- a/foo
9 8 +++ b/foo
10 9 @@ -1,1 +1,2 @@
11 10 foo
12 11 +bar
13
14 12 = checking context.status():
15 13 == checking workingctx.status:
16 14 wctx._status=<status modified=['bar-m'], added=['bar-a'], removed=['bar-r'], deleted=[], unknown=[], ignored=[], clean=[]>
General Comments 0
You need to be logged in to leave comments. Login now