diff --git a/syntax.json b/syntax.json index 60ff4c0..978c116 100644 --- a/syntax.json +++ b/syntax.json @@ -438,17 +438,6 @@ "start": "" } - }, - { - "type": "block", - "pattern": { - "start": "{/\\*", - "end": "\\*/}" - } - }, - { - "type": "line", - "pattern": "- \\[ \\]" } ] }, diff --git a/tests/test_closed.diff b/tests/test_closed.diff index 17cc92d..d3ee0fb 100644 --- a/tests/test_closed.diff +++ b/tests/test_closed.diff @@ -269,26 +269,14 @@ diff --git a/tests/example_file.rmd b/src/tests/example_file.rmd index 525e25d..ba4e68d 100644 --- a/src/tests/example_file.rmd +++ b/src/tests/example_file.rmd -@@ -1,7 +0,0 @@ -- {/* TODO: Hopefully this comment turns into a todo issue */} -- {/* -- TODO:Multiline comments -- also need to be turned into todos, and hopefully -- kept together as one todo -- */} -- - [ ] TODO: An inline todo that's NOT a comment (what) +@@ -0,1 +0,0 @@ +- diff --git a/tests/example_file.qmd b/src/tests/example_file.qmd index 525e25d..ba4e68d 100644 --- a/src/tests/example_file.qmd +++ b/src/tests/example_file.qmd -@@ -1,7 +0,0 @@ -- {/* TODO: Hopefully this comment turns into a todo issue */} -- {/* -- TODO:Multiline comments -- also need to be turned into todos, and hopefully -- kept together as one todo -- */} -- - [ ] TODO: An inline todo that's NOT a comment (what) +@@ -0,1 +0,0 @@ +- diff --git a/src/Swarm/Game/example.hs b/src/Swarm/Game/example.hs index 525e25d..ba4e68d 100644 --- a/src/Swarm/Game/example.hs diff --git a/tests/test_new.diff b/tests/test_new.diff index 7c9037e..4dd93f9 100644 --- a/tests/test_new.diff +++ b/tests/test_new.diff @@ -311,14 +311,15 @@ new file mode 100644 index 0000000..525e25d --- /dev/null +++ b/src/tests/example_file.rmd -@@ -0,0 +1,7 @@ +@@ -0,0 +0,1 @@ + diff --git a/tests/example_file.qmd b/src/tests/example_file.qmd new file mode 100644 index 0000000..525e25d --- /dev/null +++ b/src/tests/example_file.qmd -@@ -0,0 +1,7 @@ +@@ -0,0 +0,1 @@ ++ diff --git a/tests/config.jsonc b/tests/config.jsonc new file mode 100644 index 0000000..525e25d diff --git a/tests/test_todo_parser.py b/tests/test_todo_parser.py index f858a2e..0b0c1f8 100644 --- a/tests/test_todo_parser.py +++ b/tests/test_todo_parser.py @@ -76,7 +76,7 @@ class NewIssueTests(unittest.TestCase): self.assertEqual(count_issues_for_file_type(self.raw_issues, 'twig'), 2) def test_md_issues(self): - self.assertEqual(count_issues_for_file_type(self.raw_issues, 'markdown'), 12) + self.assertEqual(count_issues_for_file_type(self.raw_issues, 'markdown'), 8) def test_r_issues(self): self.assertEqual(count_issues_for_file_type(self.raw_issues, 'r'), 2) @@ -156,7 +156,7 @@ class ClosedIssueTests(unittest.TestCase): self.assertEqual(count_issues_for_file_type(self.raw_issues, 'twig'), 2) def test_md_issues(self): - self.assertEqual(count_issues_for_file_type(self.raw_issues, 'markdown'), 12) + self.assertEqual(count_issues_for_file_type(self.raw_issues, 'markdown'), 8) def test_r_issues(self): self.assertEqual(count_issues_for_file_type(self.raw_issues, 'r'), 2)