Code: Select all
assert that the rider's token is not "break" or that the rider's token is "repeat" or
that the rider's token is "return" with "This is only a test since the rider's token is actually '" and then
the rider's token and then "'!";
"assert that" followed by one or more deciders (in this case - 3 joined with logical 'or' and an optional formatted display message.
The error message produced has the standard "bits" - namely:
- the assertion
the file
the line #
the routine header
the optional formatted display message
Code: Select all
The assertion that 'the rider's token is not "break" or that the rider's token is not "repeat" or that the rider 's token is "return"' FAILED
in the file 'statement.ideom' at line 241
in the routine 'compile the next statement with a rider {single}'
This is only a test since the rider's token is actually 'break'!