virtualx-engine/modules/gdscript/tests/scripts/analyzer/features/assert_literal_false.gd

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

7 lines
108 B
GDScript3
Raw Normal View History

func test():
var never: Variant = false
if never:
assert(false)
assert(false, 'message')
print('ok')