Mercurial > python-hglib
comparison tests/test-diff.py @ 134:1b47146a4a2c 1.4
style: fix long lines
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 30 Sep 2014 12:48:04 -0500 |
parents | 86ff8611a8fa |
children | 4359cabcb0cc |
comparison
equal
deleted
inserted
replaced
133:b6f601ba7f3c | 134:1b47146a4a2c |
---|---|
35 +++ b/a | 35 +++ b/a |
36 @@ -1,1 +1,2 @@ | 36 @@ -1,1 +1,2 @@ |
37 a | 37 a |
38 +a | 38 +a |
39 """ % (node0[:12], node1[:12]) | 39 """ % (node0[:12], node1[:12]) |
40 self.assertEquals(diff4, self.client.diff(revs=[rev0, rev1], nodates=True)) | 40 self.assertEquals(diff4, self.client.diff(revs=[rev0, rev1], |
41 nodates=True)) | |
41 | 42 |
42 def test_basic_plain(self): | 43 def test_basic_plain(self): |
43 open('.hg/hgrc', 'a').write('[defaults]\ndiff=--git\n') | 44 open('.hg/hgrc', 'a').write('[defaults]\ndiff=--git\n') |
44 self.test_basic() | 45 self.test_basic() |