something better than (not (exn:break? x)) (Issue #19)

This commit is contained in:
Spencer Florence 2015-01-12 10:37:39 -05:00
parent 115acbd785
commit 1f9f11147c

View File

@ -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))])