summaryrefslogtreecommitdiff
path: root/test/ruby/test_io_m17n.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-05 22:33:38 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-05 22:33:38 +0000
commit7d048a55eea828ed5265a265c9151048a1bd8820 (patch)
treed4142cb0c4c11846fa48bcf66fde6f4f32d64725 /test/ruby/test_io_m17n.rb
parent0be34e2a497ec376e3a96e95a2374abe3ad6a7c6 (diff)
fix a test for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r--test/ruby/test_io_m17n.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index 39f3112d69..0dd790f60d 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -853,6 +853,7 @@ EOT
def test_read_stateful
with_pipe("euc-jp:iso-2022-jp") {|r, w|
+ r.binmode
w << "\xA4\xA2"
w.close
assert_equal("\e$B$\"\e(B".force_encoding("iso-2022-jp"), r.read)