We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32415af commit 0b5663bCopy full SHA for 0b5663b
test/diffparse_test.py
@@ -30,8 +30,9 @@ def test_diff(self):
30
self.assertEqual(hunks[0].lines[4], '+class DiffSource(object):\n')
31
self.assertEqual(
32
hunks[0].lines[-1],
33
- " self._header_start_re = re.compile('^@@ -(\\d+)"
34
- " \\+(\\d+),(\\d+) @@.*')\n")
+ r" self._header_start_re = re.compile('^@@ -(\d+)"
+ r" \+(\d+),(\d+) @@.*')"
35
+ '\n')
36
37
self.assertEqual(hunks[1].first_line_idx, 23)
38
self.assertEqual(len(hunks[1].lines), 18)
0 commit comments