Make the code that says what the effect of a failed check is a tiny bit clearer.
svn: r15970
This commit is contained in:
parent
3ca2b0de04
commit
ed269cc43b
|
@ -220,7 +220,9 @@
|
||||||
(list (maker src (test-format) test-val expect range) test-val #f)])))])
|
(list (maker src (test-format) test-val expect range) test-val #f)])))])
|
||||||
(cond [(check-fail? result)
|
(cond [(check-fail? result)
|
||||||
(send (send test-info get-info) check-failed result (check-fail-src result) exn)
|
(send (send test-info get-info) check-failed result (check-fail-src result) exn)
|
||||||
(when exn (raise exn))]
|
(if exn
|
||||||
|
(raise exn)
|
||||||
|
#f)]
|
||||||
[else
|
[else
|
||||||
#t])))
|
#t])))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user