[ruby-cvs:61684] nobu:r54522 (trunk): assertions.rb: set default internal encoding

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Apr 9 10:25:12 JST 2016


nobu	2016-04-09 10:25:11 +0900 (Sat, 09 Apr 2016)

  New Revision: 54522

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54522

  Log:
    assertions.rb: set default internal encoding
    
    * test/lib/test/unit/assertions.rb (assert_raise_with_message):
      set default internal encoding to the excpected message, which
      affects String#inspect in messages.
    
    * test/lib/test/unit/assertions.rb (assert_warning): ditto.

  Modified files:
    trunk/test/-ext-/struct/test_member.rb
    trunk/test/-ext-/symbol/test_type.rb
    trunk/test/lib/test/unit/assertions.rb
    trunk/test/ruby/test_class.rb
    trunk/test/ruby/test_const.rb
    trunk/test/ruby/test_exception.rb
    trunk/test/ruby/test_method.rb
    trunk/test/ruby/test_module.rb
    trunk/test/ruby/test_numeric.rb
    trunk/test/ruby/test_object.rb
    trunk/test/ruby/test_pack.rb
    trunk/test/ruby/test_rational.rb
    trunk/test/ruby/test_regexp.rb


More information about the ruby-cvs mailing list