diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-17 06:53:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-17 06:53:21 +0000 |
commit | 91d28c4ffb253fe64514a543ebb17e9dbeb19374 () | |
tree | 281307eb721f559c3335c67d224244fd06661f3a /lib | |
parent | 246ff7cb68aedfa2847395287a561d05a898fafe (diff) |
assertions.rb: assert_throw
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throw): assertion for throw. MiniTest::Assertions#assert_throws discards the cautht value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/test/unit/assertions.rb | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -170,6 +170,25 @@ module Test end # :call-seq: # assert_equal( expected, actual, failure_message = nil ) # #Tests if +expected+ is equal to +actual+. |