diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 01:56:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 01:56:17 +0000 |
commit | 0697cf6b53aabdf5af1bc013c873fdcf5472a5e8 (patch) | |
tree | 0d936a6c94a532ddf993f011657262a708e1b48b | |
parent | 7dd74eb3ae59a340a8d15cb3568adbc6488702e6 (diff) | |
download | ruby-0697cf6b53aabdf5af1bc013c873fdcf5472a5e8.tar.gz ruby-0697cf6b53aabdf5af1bc013c873fdcf5472a5e8.tar.xz ruby-0697cf6b53aabdf5af1bc013c873fdcf5472a5e8.zip |
* lib/test/unit/ui/console/testrunner.rb: Flushed io in the
Console::TestRunner so that it will output immediately.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/test/unit/ui/console/testrunner.rb | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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] diff --git a/lib/test/unit/ui/console/testrunner.rb b/lib/test/unit/ui/console/testrunner.rb index 0a5e26400..5b384bc33 100644 --- a/lib/test/unit/ui/console/testrunner.rb +++ b/lib/test/unit/ui/console/testrunner.rb @@ -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) |