зеркало из https://github.com/github/ruby.git
* 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:
Родитель
a9a7ee4be8
Коммит
acf543e5a6
|
@ -1,3 +1,8 @@
|
|||
Mon Aug 4 10:42:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/ui/console/testrunner.rb: Flushed io in the
|
||||
Console::TestRunner so that it will output immediately.
|
||||
|
||||
Mon Aug 4 10:27:22 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* util.h: remove unnecessary parentheses. [ruby-dev:20879]
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче