diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb index 2ab36cb172..8f2bd6feea 100644 --- a/test/ruby/test_io_m17n.rb +++ b/test/ruby/test_io_m17n.rb @@ -19,9 +19,9 @@ class TestIO_M17N < Test::Unit::TestCase } end - def pipe(wp, rp) + def pipe(*args, wp, rp) re, we = nil, nil - r, w = IO.pipe + r, w = IO.pipe(*args) rt = Thread.new do begin rp.call(r)