1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Files
godot/modules/gdscript/tests/scripts/analyzer/features/assert_literal_false.gd

7 lines
108 B
GDScript

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