fixed test/exn
svn: r12767
This commit is contained in:
parent
02147ef4f3
commit
965cbb00e2
|
@ -726,8 +726,10 @@
|
|||
(define-syntax (!test/exn stx)
|
||||
(syntax-case stx ()
|
||||
[(_ test-exp)
|
||||
#`(with-handlers ([exn:fail? (lambda (exn) #t)])
|
||||
((submission-eval) `test-exp)
|
||||
#`(unless
|
||||
(with-handlers ([exn:fail? (lambda (exn) #t)])
|
||||
((submission-eval) `test-exp)
|
||||
#f)
|
||||
(error* "expected exception on test expression: ~v"
|
||||
(->disp 'test-exp)))]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user