Handbook
Glossary
assert ( got expect -- * )
Assertions
Next:
assert= ( a b -- )
Vocabulary
kernel
Inputs
got
the obtained value
expect
the expected value
Outputs
None
Word description
Throws an
assert
error.
Error description
Thrown when a unit test or other assertion fails.
Definition
IN:
kernel
ERROR:
assert
got expect
;
Methods
USING:
kernel
summary
;
M:
assert
summary
drop
"Assertion failed"
;