unsafe-vector-chaperone: repair a test

This commit is contained in:
Matthew Flatt 2017-07-23 08:57:08 -06:00
parent e13d40c5ef
commit 263e7b10d9

View File

@ -825,9 +825,10 @@
": contract violation")
(exn-message exn))
(test #t
(regexp-match?
"(and/c vector? (not/c impersonator?))"
(exn-message exn)))))
regexp-match?
"[(]and/c vector[?] [(]not/c impersonator[?][)][)]"
(exn-message exn))
#t))
(clear)
(define vc*1 (do-chap (vector 93 77 26) 'vc*1))
(define cvc*1 (add-prop vc*1 p1 'p1-cvc*1 #:redirect #t))