Fix mzlib contract test for new or/c behavior.

This commit is contained in:
Sam Tobin-Hochstadt 2015-11-01 22:24:03 -05:00
parent c28d032620
commit cafefcf721

View File

@ -1502,10 +1502,11 @@ of the contract library does not change over time.
1) 1)
(contract-error-test (contract-error-test
#'(contract (or/c (-> integer? integer?) (-> boolean? boolean?)) #'((contract (or/c (-> integer? integer?) (-> boolean? boolean?))
(λ (x) x) (λ (x) x)
'pos 'pos
'neg) 'neg)
#f)
exn:fail?) exn:fail?)
(test/spec-passed/result (test/spec-passed/result