Commit Graph

58 Commits

Author SHA1 Message Date
alstr
1a726726ab Add Dockerfile support
Original PR by @phyzical
See #266
2025-04-10 14:53:23 +01:00
Alastair Mooney
4417cd5ad9
Update test_new.diff 2025-01-02 15:23:03 +00:00
netpoe
ef064d7382 test: test_closed.diff test_new.diff 2024-12-21 22:00:42 -06:00
Robert Alonso
2d98b5c359 fix: handle identifier with regex characters
Provides a test for and the solution to GitHub
issue #242. Namely, an identifier which contains
regex characters (e.g. "[TODO]") is properly
handled by having the parser look for literal
"[" and "]" characters rather than treating those
characters as part of a regex pattern. The word
boundary regex pattern '\b' does NOT properly
handle this, so a slightly different pattern is
used to identify the boundary.
2024-11-12 16:34:09 +00:00
Robert Alonso
872a997803 test: add tests to capture additional known issues
These tests capture the existing issues #234 and
issue #235. As no solution is in place yet, they're
marked as expected failures.
2024-11-11 23:52:36 +00:00
Robert Alonso
d57788aa0b fix: split diff file to allow process_diff unit test to pass
The diff file has a couple of hunks which for
some unknown reason have parsing issues which
result in the wrong line being detected for where
the TODO is. This causes the issue URL insertion
to fail. That's its own issue that should be
investigated, but in order to allow the process_diff
unit test to pass, the diff file is being split
into two to isolate the trouble-causing hunks.
2024-11-09 19:28:09 +00:00
Robert Alonso
246bf5d5bf fix: fix additional formatting issues with diff file
Wrong line numbering is causing issue URLs to not
be inserted when processing this diff file
2024-11-09 19:28:09 +00:00
Robert Alonso
da6872a340 refactor: clean up and split off diff file
test_new.diff had some issues which would cause
errors if trying to actually use the diff file
with 'patch' to create the files it references.

1) had some line numbers which were invalid
2) had path specifications and, unfortunately,
   'patch' does not support creating absent directories

The file has been cleaned up to have the create
line numbers and to assume that all files are at
the root.

Additionally, for the few cases where the diff
file referred to an edit rather than creation of a
whole new file, those diff hunks were moved into a
new, separate, file.

There is no functional change with this commit,
but it sets up future test features.
2024-11-09 19:28:08 +00:00
Alex Harris
220a09bb7c test: Added tests for TOML support 2024-10-11 18:15:04 +01:00
Miguel Palhas
64aac3bc8a code review 2024-10-09 18:21:46 +01:00
Miguel Palhas
4f3709febb code review 2024-10-08 12:32:18 +01:00
Miguel Palhas
94022cee51 code review 2024-10-08 12:16:19 +01:00
Miguel Palhas
7b5d19e941 code review 2024-10-08 12:02:02 +01:00
Miguel Palhas
26ed78e3f4 code review 2024-10-08 11:55:07 +01:00
alstr
f8090bda34 Update tests 2024-09-25 13:12:26 +01:00
Alastair Mooney
f7cea8d10c
Merge branch 'master' into master 2024-09-25 12:54:20 +01:00
Kevin Ge
1ff063b19e fix: check filename if no extensions match 2024-08-05 22:38:54 -07:00
klarkc
7d8b984900
Add Agda doc and tests 2024-07-11 16:29:45 -03:00
klarkc
fe5e34d9ad
Add support for PureScript 2024-07-11 16:16:15 -03:00
unclebabykern
e01c95d094 add TSX extension new test 2024-07-01 17:47:49 -06:00
unclebabykern
a3b911658e add liquid comment syntax w/ tests
Includes single line comment syntax with # that ignores block wrap tag requirement (e.g. {% %} enclosing line comments) for functional usage.
2024-05-29 12:17:56 -06:00
Aingeru
2bda10fabb Added support for makefile language.
Signed-off-by: Aingeru <aingeru.develop@gmail.com>
2024-03-12 12:49:15 +01:00
elftausend
401dca3ded Add support for .cu files 2024-02-16 17:10:20 +01:00
Christopher Dehner
d2cd9ce383 add tests for VBA component files 2023-08-28 15:34:21 -04:00
Max Brede
4f20f4b489 Added Rmarkdown-support 2023-03-23 14:44:16 +01:00
Max Brede
7174525707 Update test_new.diff 2023-03-23 14:35:41 +01:00
Max Brede
228e74fe0e Update test_new.diff 2023-03-23 14:34:50 +01:00
Max Brede
903c9cdf92 added Rmd-Support, tests subsumised under md 2023-03-23 14:22:28 +01:00
Max Brede
dab20df5f2 added rmd support 2023-03-23 14:05:08 +01:00
Alastair Mooney
8944832656
Merge branch 'master' into support-jsonc 2023-02-28 13:47:02 +00:00
Rich Alimi
de2352f8dd Add support for Starlark.
Support is similar to Python, as it is a python dialect.  However, it does not support block comments.

See spec: https://github.com/bazelbuild/starlark/blob/master/spec.md
2023-02-25 06:45:49 +00:00
Rich Alimi
53f6d2f8fe Add support for JSON with Comments.
Support is similar to JSON5, except block comments are also supported.
2023-02-25 06:22:46 +00:00
DosangGu
87e323fa5b add xaml new todo diff 2023-02-09 08:07:30 +00:00
Alastair Mooney
f8b1f77543
Merge branch 'master' into master 2022-12-22 08:32:29 +00:00
Walker
de829edf0c Add Nix support 2022-12-21 14:46:54 -03:00
Sara
dc1cbbf703
added GDScript 2022-12-10 21:45:51 +00:00
alstr
4fcac8cc35 Fix Clojure tests
Fixes #131
2022-10-27 08:50:10 +01:00
Avelino
735f77d3bc
clojure: add support 2022-10-22 14:40:57 +00:00
Marcos Soutullo Rodriguez
7032c76bc5
feat: add support for JSON5 2022-10-16 12:00:41 +01:00
Marcos Soutullo Rodriguez
9e57f4e103
feat: add JSON5 support 2022-10-16 11:00:18 +01:00
Ondrej Sebek
eb70416bed Test Haskell new issue 2022-06-30 21:08:48 +02:00
Alastair Mooney
13ebb378a7
Update test_new.diff 2022-05-20 17:19:25 +01:00
James McMahon
abbbccdbc2
Merge branch 'master' into patch-1 2022-05-20 12:19:19 +01:00
James McMahon
ef90653a9c
Add tests for R 2022-05-20 12:15:03 +01:00
Thomas F. K. Jorna
1fe2b4ae2a fix: make the checkbox test pass 2022-05-17 10:57:42 +02:00
Thomas F. K. Jorna
e70ad788c5 fix: add test for .mdx 2022-05-17 10:47:06 +02:00
Thomas F. K. Jorna
679302c25a feat: add mdx style comments 2022-05-17 10:39:21 +02:00
Caspian Baska
74e76203e8
test: new and closed for crystal 2022-03-02 01:21:04 +11:00
alstr
a6e0ba71bf Add Twig tests 2022-02-16 14:40:38 +00:00
Mike Snoeren
85822093ba
Add mock code to test_new.diff 2022-02-14 16:30:25 +01:00