write-xexpr test cases
This commit is contained in:
parent
9ad953c501
commit
4ca1dac51c
|
@ -482,6 +482,7 @@ END
|
|||
(test-equal? str (string->xexpr str) xe))
|
||||
(define (test-xexpr->string xe str)
|
||||
(test-equal? (format "~S" xe) (xexpr->string xe) str)
|
||||
(test-equal? (format "~S" xe) (with-output-to-string (λ () (write-xexpr xe))) str)
|
||||
(test-string->xexpr str xe))
|
||||
(define (test-string->xexpr str xe)
|
||||
(test-equal? str (string->xexpr str) xe))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user