godot/modules/gdscript/tests/scripts/parser/features/multiline_assert.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
233 B
GDScript3
Raw Normal View History

func test():
var x := 5
assert(x > 0)
assert(x > 0,)
assert(x > 0, 'message')
assert(x > 0, 'message',)
assert(
x > 0
)
assert(
x > 0,
)
assert(
x > 0,
'message'
)
assert(
x > 0,
'message',
)
print('OK')