something better than (not (exn:break? x)) (Issue #19)
This commit is contained in:
parent
115acbd785
commit
1f9f11147c
|
@ -34,7 +34,7 @@
|
|||
(for ([p paths])
|
||||
(vprintf "running file: ~s\n" p)
|
||||
(define old-check (current-check-handler))
|
||||
(with-handlers ([(lambda (x) (not (exn:break? x)))
|
||||
(with-handlers ([(lambda (x) (or (not (exn? x)) (exn:fail? x)))
|
||||
(lambda (x)
|
||||
(set! tests-failed #t)
|
||||
(error-display x))])
|
||||
|
|
Loading…
Reference in New Issue
Block a user