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:
parent
a9b600bac0
commit
c0083c0f90
190 changed files with 1788 additions and 17 deletions
|
|
@ -0,0 +1,12 @@
|
|||
func test():
|
||||
# `_` can be used as a separator for numbers in GDScript.
|
||||
# It can be placed anywhere in the number, except at the beginning.
|
||||
# Currently, GDScript in the `master` branch only allows using one separator
|
||||
# per number.
|
||||
# Results are assigned to variables to avoid warnings.
|
||||
var __ = 1_23
|
||||
__ = 123_ # Trailing number separators are OK.
|
||||
__ = 12_3
|
||||
__ = 123_456
|
||||
__ = 0x1234_5678
|
||||
__ = 0b1001_0101
|
||||
Loading…
Add table
Add a link
Reference in a new issue