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
|
@ -1,3 +1,7 @@
|
|||
Tue Mar 1 22:02:35 2011 Shota Fukumori <sorah@tubusu.net>
|
||||
|
||||
* lib/test/unit/parallel.rb: Fix number.
|
||||
|
||||
Tue Mar 1 21:48:22 2011 Shota Fukumori <sorah@tubusu.net>
|
||||
|
||||
* lib/test/unit/parallel.rb: For Windows.
|
||||
|
|
|
@ -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
Reference in a new issue