virtualx-engine/modules/gdscript/tests/scripts/parser/features/multiline_if.gd
Hugo Locurcio c0083c0f90
Add dozens of new integration tests to the GDScript test suite
This also ignores `.out` files in the file format static checks.
2021-09-14 18:42:08 +02:00

14 lines
205 B
GDScript

func test():
# Line breaks are allowed within parentheses.
if (
1 == 1
and 2 == 2 and
3 == 3
):
pass
# Alternatively, backslashes can be used.
if 1 == 1 \
and 2 == 2 and \
3 == 3:
pass