Rename GDScript test script filenames to use snake_case
This commit is contained in:
@@ -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 "/".
|
||||
Reference in New Issue
Block a user