Remove pconvert dependency in tests

The test just tests whether struct properties
work and it's not important what the precise
property is.
This commit is contained in:
Asumu Takikawa 2016-06-21 16:42:18 -04:00
parent 3b5ea8dc39
commit 527b233e45
2 changed files with 0 additions and 3 deletions

View File

@ -10,7 +10,6 @@
"2d"
"rackunit-lib"
"racket-index"
"pconvert-lib"
"compatibility-lib"
"math-lib"))
(define build-deps '("scheme-lib"

View File

@ -2,10 +2,8 @@
;; This test ensures that there is some way to customize struct
;; printouts -- if properties are removed or changed, there should be
;; some way to do something equivalent to what's done in this test.
(require mzlib/pconvert-prop)
(struct: foo ()
#:property prop:custom-print-quotable 'never
#:property prop:print-convert-constructor-name 'foo
#:property prop:custom-write (λ (x p w?) (display "#foo" p)))
(unless (equal? "#foo #foo" (format "~a ~s" (foo) (foo)))
(error "bad output"))