diff options
-rw-r--r-- | test/ruby/test_io_m17n.rb | 1 |
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) |