mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit/parallel.rb: Fix number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a9442983d
commit
39f90db925
2 changed files with 5 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Test
|
|||
undef run
|
||||
|
||||
def inclement_io orig
|
||||
*rest, io = 500.times.inject([orig.dup]){|ios, | ios << ios.last.dup }
|
||||
*rest, io = 32.times.inject([orig.dup]){|ios, | ios << ios.last.dup }
|
||||
rest.each(&:close)
|
||||
io
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue