Show More
@@ -117,8 +117,8 b' class BdiffTests(unittest.TestCase):' | |||||
117 |
|
117 | |||
118 | def test_nice_diff_for_trivial_change(self): |
|
118 | def test_nice_diff_for_trivial_change(self): | |
119 | self.assertEqual(self.showdiff( |
|
119 | self.assertEqual(self.showdiff( | |
120 |
b''.join(b'<% |
|
120 | b''.join(b'<%d\n-\n' % i for i in range(5)), | |
121 |
b''.join(b'>% |
|
121 | b''.join(b'>%d\n-\n' % i for i in range(5))), | |
122 | [diffreplace(0, 3, b'<0\n', b'>0\n'), |
|
122 | [diffreplace(0, 3, b'<0\n', b'>0\n'), | |
123 | b'-\n', |
|
123 | b'-\n', | |
124 | diffreplace(5, 8, b'<1\n', b'>1\n'), |
|
124 | diffreplace(5, 8, b'<1\n', b'>1\n'), |
General Comments 0
You need to be logged in to leave comments.
Login now