mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 07:16:42 +00:00
Update unit tests
This commit is contained in:
@@ -153,12 +153,17 @@ index 0000000..7cccc5b
|
||||
--- /dev/null
|
||||
+++ b/src/tests/example_file.jl
|
||||
@@ -0,0 +1,2 @@
|
||||
- # TODO: Hopefully this comment turns into an issue
|
||||
- #TODO: Hopefully this comment turns into an issue
|
||||
- # TODO: Hopefully this comment also turns into an issue
|
||||
- print("Hello World")
|
||||
- #= TODO: Multiline comments
|
||||
- also need to be turned into task, and hopefully
|
||||
- kept together as one.
|
||||
- =#
|
||||
- #=TODO: Another copied multiline comment
|
||||
- also need to be turned into task, and hopefully
|
||||
- kept together as one.
|
||||
- =#
|
||||
diff --git a/tests/defs.bzl b/tests/defs.bzl
|
||||
index 525e25d..ba4e68d 100644
|
||||
--- a/tests/defs.bzl
|
||||
|
||||
@@ -129,7 +129,7 @@ class ClosedIssueTests(unittest.TestCase):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'tex'), 2)
|
||||
|
||||
def test_julia_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'julia'), 2)
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'julia'), 4)
|
||||
|
||||
def test_starlark_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'python'), 5)
|
||||
|
||||
Reference in New Issue
Block a user