todo-to-issue-action/tests
Robert Alonso f0ed571547 test: add test to track additional bugs
Several related bugs that stem from a diff that
contains both deletions and additions. Specifically,
the line numbers aren't counted correctly, leading
to
- issue URL can't be inserted because it can't find
  the right line in the latest file
- generated issue references the wrong line number
- closed issue references the wrong line number

See GitHub issue #236

The last item might not have any actual impact as
(I think) it's just informational. But it'd still
be better if it reported the correct line number
of the deletion, which necessarily has to be
relative to the _old_ file's line number, not the
updated file's.

As there is no solution in place yet for these
bugs, the unittest is marked as an expected failure
2024-11-12 00:18:38 +00:00
..
__init__.py fix: Clean up TeX syntax and add tests 2021-12-13 19:13:37 +01:00
custom_languages.json code review 2024-10-08 12:16:19 +01:00
test_closed.diff test: Added tests for TOML support 2024-10-11 18:15:04 +01:00
test_comment_suffix_after_source_line.diff test: added tests for known bugs 2024-11-10 04:28:37 +00:00
test_edit_py.diff test: add test to track additional bugs 2024-11-12 00:18:38 +00:00
test_edit.diff refactor: clean up and split off diff file 2024-11-09 19:28:08 +00:00
test_escape.diff Update tests 2024-09-24 14:14:28 +01:00
test_new2.diff fix: split diff file to allow process_diff unit test to pass 2024-11-09 19:28:09 +00:00
test_new_py.diff test: add test to track additional bugs 2024-11-12 00:18:38 +00:00
test_new.diff test: add tests to capture additional known issues 2024-11-11 23:52:36 +00:00
test_process_diff.py test: add test to track additional bugs 2024-11-12 00:18:38 +00:00
test_same_title_in_same_file.diff test: add additional test demonstrating current bug 2024-11-09 19:28:09 +00:00
test_syntax.py test: add unittest to run mypy 2024-10-28 18:38:59 +00:00
test_todo_parser.py test: add tests to capture additional known issues 2024-11-11 23:52:36 +00:00