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 | acf543e5a6ba639f554d4d4487b1e1dcda687e35 (patch) | |
tree | 0d936a6c94a532ddf993f011657262a708e1b48b | |
parent | a9a7ee4be858aabc23b25ea3ff61a18286bdc900 (diff) | |
download | ruby-acf543e5a6ba639f554d4d4487b1e1dcda687e35.tar.gz |
* 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
-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 0a5e264006..5b384bc330 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) |