You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add dozens of new integration tests to the GDScript test suite
This also ignores `.out` files in the file format static checks.
This commit is contained in:
14
modules/gdscript/tests/scripts/parser/features/enum.gd
Normal file
14
modules/gdscript/tests/scripts/parser/features/enum.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
enum Size {
|
||||
S = -10,
|
||||
M,
|
||||
L = 0,
|
||||
XL = 10,
|
||||
XXL,
|
||||
}
|
||||
|
||||
func test():
|
||||
print(Size.S)
|
||||
print(Size.M)
|
||||
print(Size.L)
|
||||
print(Size.XL)
|
||||
print(Size.XXL)
|
||||
Reference in New Issue
Block a user