mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
code review
This commit is contained in:
parent
3442688932
commit
26ed78e3f4
@ -539,3 +539,25 @@ index 0000000..0ce9b1a
|
||||
+TODO: Create an issue for TODO
|
||||
+-}
|
||||
+sum a b = a + b
|
||||
diff --git a/tests/Counter.sol b/tests/Counter.sol
|
||||
new file mode 100644
|
||||
index 0000000..d340f6a
|
||||
--- /dev/null
|
||||
+++ b/src/Counter.sol
|
||||
@@ -0,0 +1,18 @@
|
||||
+contract Counter {
|
||||
+ // TODO: Test this
|
||||
+ // Do it
|
||||
+ // labels: urgent
|
||||
+
|
||||
+ /*
|
||||
+ TODO: Test this too
|
||||
+ Do it ASAP
|
||||
+ labels: urgent
|
||||
+ */
|
||||
|
||||
+ /**
|
||||
+ * TODO: And this too
|
||||
+ * labels: urgent
|
||||
+ */
|
||||
+}
|
||||
|
||||
@ -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, 'solidity'), 3)
|
||||
|
||||
class ClosedIssueTests(unittest.TestCase):
|
||||
# Check for removed TODOs across the files specified.
|
||||
def setUp(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user