document assert=

db4
Doug Coleman 2008-09-02 17:04:13 -05:00
parent 4b86364637
commit 8773d544e7
1 changed files with 4 additions and 0 deletions

View File

@ -920,3 +920,7 @@ HELP: assert
{ $values { "got" "the obtained value" } { "expect" "the expected value" } }
{ $description "Throws an " { $link assert } " error." }
{ $error-description "Thrown when a unit test or other assertion fails." } ;
HELP: assert=
{ $values { "a" object } { "b" object } }
{ $description "Throws an " { $link assert } " error if " { $snippet "a" } " does not equal " { $snippet "b" } "." } ;