summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-31 06:33:45 +0000
committerwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-31 06:33:45 +0000
commitf163275b5c3ae139e6ba273777f710e323f83b18 (patch)
tree0a9772d567f1024d6c449fe9d32df2080005ea4f /test
parent35b2c59ac0078a59adce4d66e9a861fe1c82f226 (diff)
* test/psych/test_emitter.rb (setup): encoding of @out should be same as script's.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_emitter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb
index c90765349a..3738c1ac04 100644
--- a/test/psych/test_emitter.rb
+++ b/test/psych/test_emitter.rb
@@ -6,7 +6,7 @@ module Psych
class TestEmitter < TestCase
def setup
super
- @out = StringIO.new
+ @out = StringIO.new('')
@emitter = Psych::Emitter.new @out
end