mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
Added a test which demonstrates a current bug where if multiple TODOs with the same title appear in the diff of the same file, only one of those issues will have its URL succesfully inserted. (Specifically, the first from the top.) As such, the test is configured as an expected failure until such time as the bug can be fixed.
28 lines
461 B
Diff
28 lines
461 B
Diff
diff --git a/Counter.sol b/Counter.sol
|
|
new file mode 100644
|
|
index 0000000..d340f6a
|
|
--- /dev/null
|
|
+++ b/Counter.sol
|
|
@@ -0,0 +1,21 @@
|
|
+contract Counter {
|
|
+ // TODO: Test this
|
|
+ // Do it
|
|
+ // labels: urgent
|
|
+
|
|
+ /// TODO: Natspec comment
|
|
+ /// Do it
|
|
+ /// labels: urgent
|
|
+
|
|
+ /*
|
|
+ TODO: Test this too
|
|
+ Do it ASAP
|
|
+ labels: urgent
|
|
+ */
|
|
+
|
|
+ // TODO: Test this
|
|
+ /**
|
|
+ * TODO: Test this too
|
|
+ * labels: urgent
|
|
+ */
|
|
+}
|