Update tests

This commit is contained in:
alstr 2024-09-24 14:14:28 +01:00
parent 3bf280d493
commit 935bd1b4d0
2 changed files with 15 additions and 15 deletions

View File

@ -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

View 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()