mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
Update tests
This commit is contained in:
parent
3bf280d493
commit
935bd1b4d0
@ -2,18 +2,18 @@ diff --git a/tests/ExampleFile.java b/tests/ExampleFile.java
|
|||||||
index d340f6a..29b54da 100644
|
index d340f6a..29b54da 100644
|
||||||
--- a/tests/ExampleFile.java
|
--- a/tests/ExampleFile.java
|
||||||
+++ b/tests/ExampleFile.java
|
+++ b/tests/ExampleFile.java
|
||||||
@@ -1,13 +1,5 @@
|
@@ -0,0 +1,13 @@
|
||||||
package com.mydomain.myapp;
|
+package com.mydomain.myapp;
|
||||||
|
+
|
||||||
public class JavaTests {
|
+public class JavaTests {
|
||||||
- // TODO: Some Java
|
+ // TODO: Some Java
|
||||||
- // # Some title
|
+ // # Some title
|
||||||
- // <SomeTag>
|
+ // <SomeTag>
|
||||||
|
+
|
||||||
- /*
|
+ /*
|
||||||
- TODO: Definitely some Java
|
+ TODO: Definitely some Java
|
||||||
- # Another title
|
+ # Another title
|
||||||
- <AnotherTag>
|
+ <AnotherTag>
|
||||||
- */
|
+ */
|
||||||
}
|
+}
|
||||||
\ No newline at end of file
|
\ No newline at end of file
|
||||||
@ -249,7 +249,7 @@ class EscapeMarkdownTest(unittest.TestCase):
|
|||||||
self.assertEqual(issue.body[1], '\\<AnotherTag\\>')
|
self.assertEqual(issue.body[1], '\\<AnotherTag\\>')
|
||||||
|
|
||||||
|
|
||||||
class customLanguageTest(unittest.TestCase):
|
class CustomLanguageTest(unittest.TestCase):
|
||||||
def test_custom_lang_load(self):
|
def test_custom_lang_load(self):
|
||||||
os.environ['INPUT_LANGUAGES'] = 'tests/custom_languages.json'
|
os.environ['INPUT_LANGUAGES'] = 'tests/custom_languages.json'
|
||||||
parser = TodoParser()
|
parser = TodoParser()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user