method
assert_nothing_thrown
v1_9_3_392 -
Show latest stable
- Class:
Test::Unit::Assertions
assert_nothing_thrown(msg=nil)public
Fails if the given block uses a call to Kernel#throw.
An optional failure message may be provided as the final argument.
assert_nothing_thrown "Something was thrown!" do throw :problem? end