* 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
This commit is contained in:
sorah 2011-03-02 05:29:52 +00:00
parent a991a12cbc
commit 31fcc22365
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 2 14:24:04 2011 Shota Fukumori <sorah@tubusu.net>
* lib/test/unit/parallel.rb: Fix name from `inclement_io` to
`increment_io`.
Wed Mar 2 14:06:01 2011 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (rb_str_slice_bang): move treatments which is only needed

View File

@ -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