mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby/test_io_m17n.rb (TestIO_M17N#pipe): fixed the mistake of previous
commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a012bf6ed4
commit
c265d57595
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue