don't catch exn breaks
Please Include In Release
This commit is contained in:
parent
7f484888f5
commit
2407b02f38
|
@ -28,7 +28,7 @@
|
||||||
;;
|
;;
|
||||||
;; Run a test-case immediately, printing information on failure
|
;; Run a test-case immediately, printing information on failure
|
||||||
(define (default-test-case-around thunk)
|
(define (default-test-case-around thunk)
|
||||||
(with-handlers ([(lambda (e) #t) default-test-case-handler])
|
(with-handlers ([(lambda (e) (not (exn:break? e))) default-test-case-handler])
|
||||||
(parameterize ((current-custodian (make-custodian)))
|
(parameterize ((current-custodian (make-custodian)))
|
||||||
(thunk))))
|
(thunk))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user