diff --git a/syntax.json b/syntax.json index de8a68c..2ead721 100644 --- a/syntax.json +++ b/syntax.json @@ -853,5 +853,5 @@ } } ] - }, + } ] diff --git a/tests/custom_languages.json b/tests/custom_languages.json index 2ac5c19..04bd26d 100644 --- a/tests/custom_languages.json +++ b/tests/custom_languages.json @@ -37,4 +37,4 @@ } ] } -] \ No newline at end of file +] diff --git a/tests/test_new.diff b/tests/test_new.diff index 8df409d..3ef80c7 100644 --- a/tests/test_new.diff +++ b/tests/test_new.diff @@ -539,3 +539,17 @@ index 0000000..0ce9b1a +TODO: Create an issue for TODO +-} +sum a b = a + b +diff --git a/src/init.lua b/src/init.lua +new file mode 100644 +index 0000000..0ce9b1a +--- /dev/null ++++ b/src/init.lua +@@ -0,0 +1,8 @@ ++-- TODO: Fix this ++-- In the future, make a way to build these and just start the base ++-- out with a large supply of each ++-- labels: redesign ++--[[ ++ TODO: Fix this todo ++ labels: urgent ++--]] diff --git a/tests/test_todo_parser.py b/tests/test_todo_parser.py index 62c8622..7250cf2 100644 --- a/tests/test_todo_parser.py +++ b/tests/test_todo_parser.py @@ -100,6 +100,9 @@ class NewIssueTests(unittest.TestCase): def test_liquid_issues(self): self.assertEqual(count_issues_for_file_type(self.raw_issues, 'liquid'), 3) + def test_liquid_issues(self): + self.assertEqual(count_issues_for_file_type(self.raw_issues, 'lua'), 3) + class ClosedIssueTests(unittest.TestCase): # Check for removed TODOs across the files specified. def setUp(self):