1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/testunit
gotoyuzo d356ccc987 * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):
throw won't raise NameError nor ThreadError but ArgumentError on 1.9.
  (Test::Unit::Assertions#assert_not_throws): ditto.

* test/testunit/test_assertions.rb: add assertions for throwing some
  objects other than Symbol.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 19:47:55 +00:00
..
collector * test/testunit/collector/test_dir.rb: Fixed test/unit tests that 2007-03-20 23:29:49 +00:00
util * lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like 2003-12-17 06:38:18 +00:00
test_assertions.rb * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws): 2007-12-28 19:47:55 +00:00
test_error.rb * lib/test/unit/assertions.rb: added a default message for #assert, 2003-10-02 23:03:13 +00:00
test_failure.rb * lib/test/unit/assertions.rb: added a default message for #assert, 2003-10-02 23:03:13 +00:00
test_testcase.rb * test/testunit/test_testcase.rb: catch up with current instance 2007-02-24 01:49:43 +00:00
test_testresult.rb
test_testsuite.rb * lib/test/unit/testsuite.rb: changed #<< to return self, and added 2003-10-03 22:35:19 +00:00