instance method Test::Unit::Assertions#assert_raises
assert_raises(*args, &block) -> object
-
Test::Unit::Assertions#assert_raise のエイリアスです。
- [PARAM] args:
- Test::Unit::Assertions#assert_raise にそのまま渡します。
- [EXCEPTION] Test::Unit::AssertionFailedError:
- assert が失敗した時に発生します。
[SEE_ALSO] Test::Unit::Assertions#assert_raise
module Test::Unit::Assertions