Daniel Berger wrote:
>> >
>> > ?
>> 
>> Thanks -- if you are suggesting to leave out the method assert_aborts:
>> I
>> thought it might be good to check the abort message. Otherwise, please
>> let me know.
> 
> See assert_raise_message in Test::Unit 2.x.
> 
> gem install test-unit
> 
> Regards,
> 
> Dan

Ok thanks. Should I submit patches to Ruby?

 1. assert_aborts through redefining Kernel#abort
 2. assert_raise_message accepts regular expression.

Stephan
-- 
Posted via http://www.ruby-forum.com/.