add add-make-prefix-to-constructor tests
This commit is contained in:
parent
30cc1b9a0b
commit
c87cd47c64
|
@ -390,6 +390,15 @@
|
|||
(test #f (pc #f) #f)
|
||||
(test #t (pc #f) #t))
|
||||
|
||||
(let ([pc
|
||||
(λ (prefix?)
|
||||
(λ (x)
|
||||
(parameterize ([add-make-prefix-to-constructor prefix?])
|
||||
(print-convert x))))])
|
||||
(struct s (x) #:transparent)
|
||||
(test '(s 1) (pc #f) (s 1))
|
||||
(test '(make-s 1) (pc #t) (s 1)))
|
||||
|
||||
(let ([pc
|
||||
(lambda (pv)
|
||||
(lambda (x)
|
||||
|
|
Loading…
Reference in New Issue
Block a user