Files
pplus-web/mojo/probes/error-assert-statement.mojo
T
2026-10-05 03:03:38 +00:00

6 lines
148 B
Mojo

# probe: is there an assert statement, and what does a failing one do?
def main():
var x = 1
assert x == 2, "x is not 2"
print("after")