Vocabularytools.testSyntax[ quot ] [ pred ] must-fail-with
InputsNone
OutputsNone
Word descriptionRuns a quotation with an empty stack, expecting it to throw an error which must satisfy
pred. If the quotation does not throw an error, or if the error does not match the predicate, the unit test fails.
NotesThis word is used to test error handling code, ensuring that errors thrown by code contain the relevant debugging information.
Definition