'EQUALITY-PREDICATE =
properties)))
\f
-(define-for-tests (assert-error thunk condition-types . properties)
+(define-for-tests (assert-error thunk #!optional condition-types . properties)
(call-with-current-continuation
(lambda (k)
(apply fail
'RESULT-OBJECT
- (bind-condition-handler condition-types
+ (bind-condition-handler
+ (if (default-object? condition-types)
+ (list condition-type:error)
+ condition-types)
(lambda (condition)
condition ;ignore
(k #f))