mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 07:16:42 +00:00
fix: don't include source with issue URL comment
If TODO comment is a suffix to a line of (executable) source, don't repeat the source content when inserting the issue URL. But be sure to still keep the same alignment. Closes #229
This commit is contained in:
@@ -110,10 +110,6 @@ class IssueUrlInsertionTest(unittest.TestCase):
|
||||
self._setUp(['test_same_title_in_same_file.diff'])
|
||||
self._standardTest(5)
|
||||
|
||||
# There is a known bug related to this issue, so until it's resolved
|
||||
# this is an expected failure.
|
||||
# See #229
|
||||
@unittest.expectedFailure
|
||||
def test_comment_suffix_after_source_line(self):
|
||||
self._setUp(['test_comment_suffix_after_source_line.diff'])
|
||||
self._standardTest(1)
|
||||
|
||||
Reference in New Issue
Block a user