Update doc for check-exn: predicate can be trueish
This commit is contained in:
parent
2407b02f38
commit
a83d76a6ef
|
@ -109,7 +109,7 @@ For example, the following checks all fail:
|
||||||
void?]{
|
void?]{
|
||||||
|
|
||||||
Checks that @racket[thunk] raises an exception and that either
|
Checks that @racket[thunk] raises an exception and that either
|
||||||
@racket[exn-predicate] returns @racket[#t] if it is a function, or
|
@racket[exn-predicate] returns a true value if it is a function, or
|
||||||
that it matches the message in the exception if @racket[exn-predicate]
|
that it matches the message in the exception if @racket[exn-predicate]
|
||||||
is a regexp. In the latter case, the exception raised must be an
|
is a regexp. In the latter case, the exception raised must be an
|
||||||
@racket[exn:fail?]. The optional @racket[message] is included in the
|
@racket[exn:fail?]. The optional @racket[message] is included in the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user