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:
Hugo Locurcio 2021-04-19 20:50:52 +02:00
parent a9b600bac0
commit c0083c0f90
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
190 changed files with 1788 additions and 17 deletions

View file

@ -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