[前][次][番号順一覧][スレッド一覧]

ruby-changes:15244

From: wanabe <ko1@a...>
Date: Wed, 31 Mar 2010 15:34:01 +0900 (JST)
Subject: [ruby-changes:15244] Ruby:r27126 (trunk): * test/psych/test_emitter.rb (setup): encoding of @out should be same as script's.

wanabe	2010-03-31 15:33:45 +0900 (Wed, 31 Mar 2010)

  New Revision: 27126

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

  Log:
    * test/psych/test_emitter.rb (setup): encoding of @out should be same as script's.

  Modified files:
    trunk/test/psych/test_emitter.rb

Index: test/psych/test_emitter.rb
===================================================================
--- test/psych/test_emitter.rb	(revision 27125)
+++ test/psych/test_emitter.rb	(revision 27126)
@@ -6,7 +6,7 @@
   class TestEmitter < TestCase
     def setup
       super
-      @out = StringIO.new
+      @out = StringIO.new('')
       @emitter = Psych::Emitter.new @out
     end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]