[ruby-cvs:51317] nobu:r44172 (trunk): assertions.rb: last match in assert_raise_with_message

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 13 18:17:56 JST 2013


nobu	2013-12-13 18:17:55 +0900 (Fri, 13 Dec 2013)

  New Revision: 44172

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

  Log:
    assertions.rb: last match in assert_raise_with_message
    
    * lib/test/unit/assertions.rb (assert_raise_with_message): set
      caller's last match if expected is a Regexp.
    
    * test/ruby/test_arity.rb (err_mess): use assert_raise_with_message.

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


More information about the ruby-cvs mailing list