summaryrefslogtreecommitdiff
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-10 10:35:52 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-10 10:35:52 +0000
commitf478e73f0474a0ec77e2657c6d3b626a8e5b4b35 (patch)
tree63ea1bd8a48f3d45b3a3eded0ff4e5d0c28236ad /test/ruby/test_io.rb
parent6871c342747a7df80450bde2aeabf4629648f9c6 (diff)
make a test locale independent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index de75bfd55c..3381cda8db 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -20,7 +20,7 @@ class TestIO < Test::Unit::TestCase
r.close
# "\377"
- r, w = IO.pipe
+ r, w = IO.pipe('ascii-8bit')
w.print "\377xyz"
w.close
r.binmode