Add missing `contract'.
svn: r16072
This commit is contained in:
parent
4ad2d25e1d
commit
ec0175bd48
|
@ -191,7 +191,7 @@
|
|||
|
||||
(test-case
|
||||
"predicate"
|
||||
(define integer (predicate integer?))
|
||||
(define integer (contract (predicate integer?)))
|
||||
(check-equal? (say-no (apply-contract integer 5)) 5)
|
||||
(check-equal? (say-no (apply-contract integer "foo")) 'no))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user