Rename GDScript test script filenames to use snake_case

This commit is contained in:
Andrii Doroshenko (Xrayez)
2021-04-16 22:16:19 +03:00
parent 49511d4391
commit 1e26bf23c2
24 changed files with 0 additions and 0 deletions
@@ -0,0 +1,6 @@
func args(a, b):
print(a)
print(b)
func test():
args(1,)
@@ -0,0 +1,2 @@
GDTEST_ANALYZER_ERROR
Too few arguments for "args()" call. Expected at least 2 but received 1.
@@ -0,0 +1,2 @@
func test():
var a = ("missing paren ->"
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expected closing ")" after grouping expression.
@@ -0,0 +1,3 @@
func test():
if true # Missing colon here.
print("true")
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expected ":" after "if" condition.
@@ -0,0 +1,6 @@
func args(a, b):
print(a)
print(b)
func test():
args(1,2
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expected closing ")" after call arguments.
@@ -0,0 +1,3 @@
func test():
print("Using spaces")
print("Using tabs")
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Used "\t" for indentation instead " " as used before in the file.
@@ -0,0 +1,3 @@
extends Node
func test():
var a = $ # Expected some node path.
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path as string or identifier after "$".
@@ -0,0 +1,3 @@
extends Node
func test():
$23 # Can't use number here.
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path as string or identifier after "$".
@@ -0,0 +1,3 @@
extends Node
func test():
$MyNode/23 # Can't use number here.
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path after "/".