mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 07:16:42 +00:00
fix: get correct line numbering of old and new lines
track context of old and new lines separately to get proper line numbers relative to old and new version of a file Closes GitHub #236
This commit is contained in:
@@ -80,8 +80,6 @@ class IssueUrlInsertionTest(unittest.TestCase):
|
||||
self._setUp(['test_new.diff'])
|
||||
self._standardTest(80)
|
||||
|
||||
# See GitHub issue #236
|
||||
@unittest.expectedFailure
|
||||
def test_line_numbering_with_deletions(self):
|
||||
self._setUp(['test_new_py.diff', 'test_edit_py.diff'])
|
||||
with self.subTest("Issue URL insertion"):
|
||||
|
||||
Reference in New Issue
Block a user