summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-02 05:29:52 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-02 05:29:52 +0000
commit31fcc22365059bdefede5ce343262436214ba2fa (patch)
tree5dd2316feb04012a44f0ae4c0462675063702c4f /lib
parenta991a12cbc63c803811673fa3b77c035fdf78558 (diff)
* lib/test/unit/parallel.rb: Fix name from `inclement_io` to
`increment_io`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit/parallel.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb
index 18035a4d55..90e418bf5f 100644
--- a/lib/test/unit/parallel.rb
+++ b/lib/test/unit/parallel.rb
@@ -12,13 +12,13 @@ module Test
undef _run_suites
undef run
- def inclement_io orig
+ def increment_io(orig)
*rest, io = 32.times.inject([orig.dup]){|ios, | ios << ios.last.dup }
rest.each(&:close)
io
end
- def _run_suites suites, type
+ def _run_suites(suites, type)
suites.map do |suite|
result = _run_suite(suite, type)
end
@@ -77,8 +77,8 @@ module Test
Signal.trap(:INT,"IGNORE")
@old_loadpath = []
begin
- @stdout = inclement_io(STDOUT)
- @stdin = inclement_io(STDIN)
+ @stdout = increment_io(STDOUT)
+ @stdin = increment_io(STDIN)
@stdout.sync = true
@stdout.puts "ready"
while buf = @stdin.gets