Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > test/unit/assertionsライブラリ > Test::Unit::Assertionsモジュール > assert_nothing_thrown

instance method Test::Unit::Assertions#assert_nothing_thrown

assert_nothing_thrown(message="") { ... } -> ()

ブロックを実行して throw が起こらなければパスします。

[EXCEPTION] Test::Unit::AssertionFailedError:
assert が失敗した時に発生します。