..
original commit: 85f2edea57ebd37afc45c8cc700988a089212bea
This commit is contained in:
parent
3dce14aa40
commit
c57f3501b3
|
@ -17,7 +17,7 @@
|
||||||
(define (test/spec-failed name expression blame)
|
(define (test/spec-failed name expression blame)
|
||||||
(define (failed-contract x)
|
(define (failed-contract x)
|
||||||
(and (string? x)
|
(and (string? x)
|
||||||
(let ([m (regexp-match ": (.*) failed contract:" x)])
|
(let ([m (regexp-match ": ([^ ]*) broke" x)])
|
||||||
(and m (cadr m)))))
|
(and m (cadr m)))))
|
||||||
(test blame
|
(test blame
|
||||||
failed-contract
|
failed-contract
|
||||||
|
|
Loading…
Reference in New Issue
Block a user