[ruby-cvs:54772] usa:r47624 (trunk): * test/rubygems/test_gem_commands_setup_command.rb: @ui uses StringIO

usa at ruby-lang.org usa at ruby-lang.org
Thu Sep 18 16:30:21 JST 2014


usa	2014-09-18 16:30:19 +0900 (Thu, 18 Sep 2014)

  New Revision: 47624

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

  Log:
    * test/rubygems/test_gem_commands_setup_command.rb: @ui uses StringIO
      as its streams, and Encoding.default_external does not effect to
      stringIOs already exist.  so, we need to set external_encoding of
      @ui.outs directly.  this problem (test failure) does not appear in
      the environments default_external is us-ascii or utf-8.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_commands_setup_command.rb


More information about the ruby-cvs mailing list