add keyword tests for define-struct/contract

svn: r15974
This commit is contained in:
Jon Rafkind 2009-09-11 17:37:59 +00:00
parent bba25510ea
commit d0611c8871

View File

@ -2804,6 +2804,16 @@
(define-struct/contract (bar foo) ([z string?]))
(set-foo-x! (make-bar 2 "x") #f)))
(test/spec-passed
'define-struct/contract22
'(define-struct/contract foo ([x number?] [y number?]) #:mutable #:transparent))
(test/spec-passed
'define-struct/contract23
'(define-struct/contract foo ([x number?] [y number?])
#:mutable #:transparent
#:property prop:custom-write
(lambda (a b c) (void))))
;
;
;