summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_io_m17n.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index 1016eaa4d2..7bdd8e9b0f 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -1794,10 +1794,8 @@ EOT
def test_textmode_paragraph_binaryread
with_pipe("US-ASCII:UTF-8", :universal_newline => true) do |r, w|
- r, w = IO.pipe
w << "a\n\n\ncdefgh".gsub(/\n/, "\r\n")
w.close
- r.set_encoding("US-ASCII:UTF-8", :universal_newline => true)
assert_equal("a\n\n", r.gets(""))
assert_equal("c", r.getc)
assert_equal("defgh", r.readpartial(10))