rackunit: fix tests
merge to 5.2
(cherry picked from commit 18b3899e6a
)
This commit is contained in:
parent
38c55dc063
commit
b655a34418
|
@ -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