rackunit: fix tests
merge to 5.2 original commit: 18b3899e6aac5a6d39507e8b2b549f05b4eec0ca
This commit is contained in:
parent
7ac8d8a288
commit
ed6361fb0e
|
@ -314,5 +314,12 @@
|
|||
(parameterize ([current-check-around (lambda (t) (set! x 'foo))])
|
||||
(check-eq? 'a 'b))
|
||||
(check-eq? x
|
||||
'foo)))))
|
||||
'foo)))
|
||||
|
||||
(test-case
|
||||
"current-check-handler is used by checks"
|
||||
(check-eq? (let/ec escape
|
||||
(parameterize ([current-check-handler (lambda (e) (escape 'foo))])
|
||||
(check-eq? 'a 'b)))
|
||||
'foo))
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue
Block a user