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,10 @@
|
|||
func test():
|
||||
# This should emit a warning.
|
||||
var __ = 5 / 2
|
||||
|
||||
# These should not emit warnings.
|
||||
__ = float(5) / 2
|
||||
__ = 5 / float(2)
|
||||
__ = 5.0 / 2
|
||||
__ = 5 / 2.0
|
||||
__ = 5.0 / 2.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue