added GDScript

This commit is contained in:
Sara 2022-12-10 21:45:51 +00:00
parent 687d7b27d4
commit dc1cbbf703
No known key found for this signature in database
GPG Key ID: 2FC380FBE32026F0
4 changed files with 36 additions and 0 deletions

View File

@ -568,6 +568,15 @@
}
]
},
{
"language": "GDScript",
"markers": [
{
"type": "line",
"pattern": "#"
}
]
},
{
"language": "Go",
"markers": [

View File

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

View File

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

View File

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