From 31fcc22365059bdefede5ce343262436214ba2fa Mon Sep 17 00:00:00 2001 From: sorah Date: Wed, 2 Mar 2011 05:29:52 +0000 Subject: * 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 --- lib/test/unit/parallel.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/test/unit') 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 -- cgit v1.2.3