[ruby-cvs:51527] nobu:r44382 (trunk): assertions.rb: improve assert_throw

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 24 18:36:46 JST 2013


nobu	2013-12-24 18:36:46 +0900 (Tue, 24 Dec 2013)

  New Revision: 44382

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44382

  Log:
    assertions.rb: improve assert_throw
    
    * lib/test/unit/assertions.rb (assert_throw): revert r44379 and
      improve failure message, since assert_throws cannot extract the
      inspection from the execption message correctly.

  Modified files:
    trunk/lib/test/unit/assertions.rb


More information about the ruby-cvs mailing list