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

View File

@@ -0,0 +1,2 @@
func test():
print("A"); print("B")

View File

@@ -0,0 +1,3 @@
GDTEST_OK
A
B

View File

@@ -0,0 +1,7 @@
# See https://github.com/godotengine/godot/issues/41066.
func f(p, ): ## <-- no errors
print(p)
func test():
f(0, ) ## <-- no error

View File

@@ -0,0 +1,2 @@
GDTEST_OK
0

View File

@@ -0,0 +1,12 @@
var a # No init.
var b = 42 # Init.
func test():
var c # No init, local.
var d = 23 # Init, local.
a = 1
c = 2
prints(a, b, c, d)
print("OK")

View File

@@ -0,0 +1,7 @@
GDTEST_OK
>> WARNING
>> Line: 5
>> UNASSIGNED_VARIABLE
>> The variable 'c' was used but never assigned a value.
1 42 2 23
OK