mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
added GDScript
This commit is contained in:
parent
687d7b27d4
commit
dc1cbbf703
@ -568,6 +568,15 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "GDScript",
|
||||
"markers": [
|
||||
{
|
||||
"type": "line",
|
||||
"pattern": "#"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "Go",
|
||||
"markers": [
|
||||
|
||||
@ -297,3 +297,13 @@ index 0000000..525e25d 100644
|
||||
- ;; TODO: todo with description (sub-level)
|
||||
- ;; Body of the issue should stay here
|
||||
- (str "hello" name))
|
||||
diff --git a/tests/example.gd b/tests/example.gd
|
||||
index 0000000..525e25d 100644
|
||||
--- a/tests/example.gd
|
||||
+++ b/tests/example.gd
|
||||
@@ -1,5 +0,0 @@
|
||||
-# TODO Store all the players here
|
||||
-var _players: = []
|
||||
-
|
||||
-# TODO Play the level music
|
||||
-export: var music_path: String
|
||||
|
||||
@ -320,3 +320,14 @@ index 0000000..525e25d
|
||||
+ ;; TODO: todo with description (sub-level)
|
||||
+ ;; Body of the issue should stay here
|
||||
+ (str "hello" name))
|
||||
diff --git a/tests/example.gd b/tests/example.gd
|
||||
new file mode 100644
|
||||
index 0000000..525e25d
|
||||
--- /dev/null
|
||||
+++ b/tests/example.gd
|
||||
@@ -0,0 +1,5 @@
|
||||
+# TODO Store all the players here
|
||||
+var _players: = []
|
||||
+
|
||||
+# TODO Play the level music
|
||||
+export: var music_path: String
|
||||
|
||||
@ -40,6 +40,9 @@ class NewIssueTests(unittest.TestCase):
|
||||
# Includes 2 tests for Crystal.
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'ruby'), 5)
|
||||
|
||||
def test_gdscript_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'GDScript'), 2)
|
||||
|
||||
def test_abap_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'abap'), 2)
|
||||
|
||||
@ -105,6 +108,9 @@ class ClosedIssueTests(unittest.TestCase):
|
||||
# Includes 2 tests for Crystal.
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'ruby'), 5)
|
||||
|
||||
def test_gdscript_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'GDScript'), 2)
|
||||
|
||||
def test_abap_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'abap'), 2)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user