mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 13:56:44 +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
|
||||
--- a/tests/ExampleFile.java
|
||||
+++ b/tests/ExampleFile.java
|
||||
@@ -1,13 +1,5 @@
|
||||
package com.mydomain.myapp;
|
||||
|
||||
public class JavaTests {
|
||||
- // TODO: Some Java
|
||||
- // # Some title
|
||||
- // <SomeTag>
|
||||
|
||||
- /*
|
||||
- TODO: Definitely some Java
|
||||
- # Another title
|
||||
- <AnotherTag>
|
||||
- */
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
+package com.mydomain.myapp;
|
||||
+
|
||||
+public class JavaTests {
|
||||
+ // TODO: Some Java
|
||||
+ // # Some title
|
||||
+ // <SomeTag>
|
||||
+
|
||||
+ /*
|
||||
+ TODO: Definitely some Java
|
||||
+ # Another title
|
||||
+ <AnotherTag>
|
||||
+ */
|
||||
+}
|
||||
\ No newline at end of file
|
||||
@ -249,7 +249,7 @@ class EscapeMarkdownTest(unittest.TestCase):
|
||||
self.assertEqual(issue.body[1], '\\<AnotherTag\\>')
|
||||
|
||||
|
||||
class customLanguageTest(unittest.TestCase):
|
||||
class CustomLanguageTest(unittest.TestCase):
|
||||
def test_custom_lang_load(self):
|
||||
os.environ['INPUT_LANGUAGES'] = 'tests/custom_languages.json'
|
||||
parser = TodoParser()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user