diff --git a/ChangeLog b/ChangeLog index b4992cd534..05f70d8e5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 2 14:24:04 2011 Shota Fukumori + + * lib/test/unit/parallel.rb: Fix name from `inclement_io` to + `increment_io`. + Wed Mar 2 14:06:01 2011 NARUSE, Yui * string.c (rb_str_slice_bang): move treatments which is only needed 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