mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/test/unit/ui/console/testrunner.rb: Flushed io in the
Console::TestRunner so that it will output immediately. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a9a7ee4be8
commit
acf543e5a6
2 changed files with 7 additions and 0 deletions
|
@ -115,10 +115,12 @@ module Test
|
|||
|
||||
def output(something, level=NORMAL)
|
||||
@io.puts(something) if (output?(level))
|
||||
@io.flush
|
||||
end
|
||||
|
||||
def output_single(something, level=NORMAL)
|
||||
@io.write(something) if (output?(level))
|
||||
@io.flush
|
||||
end
|
||||
|
||||
def output?(level)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue