summaryrefslogtreecommitdiff
path: root/test/lib/test/unit/assertions.rb
AgeCommit message (Collapse)Author
2014-11-15vm_eval.c: UncaughtThrowErrornobu
* vm_eval.c (rb_throw_obj): throw UncaughtThrowError instead of ArgumentError. [Feature #10480] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-07test_exception.rb: more testsnobu
* test/ruby/test_exception.rb: more tests for catch and throw. catch but no throw, autogenerated tag, and uncaught throw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28Suppress double dots.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27reapply r46568 "assertions.rb: refine message"nobu
`exception` is an expected exception class, not the raised instance, so the result message cannot have any backtraces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27Revert r46568 "assertions.rb: refine message"naruse
Don't inspect exceptions without backtrace omission for SystemStackError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26assertions.rb: refine messagenobu
* test/lib/test/unit/assertions.rb (assert_raise_with_message): refine default message for the exception to be raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* test/runner.rb: remove dependency test-unit and minitesthsbt
from stdlib when running with test-all. [Feature #9711][ruby-core:61890] * test/testunit/*.rb: ditto. * test/lib: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e