summaryrefslogtreecommitdiff
path: root/test/lib/minitest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-23 06:23:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-23 06:23:05 +0000
commit98a2dfe7f62567ecf6fcda0622172e5731701c01 (patch)
tree27d590336dd53df04f973d6c09d61f3ea0d72ce4 /test/lib/minitest
parent981ab867f747880157b6cd3f6af425a0056cacf9 (diff)
minitest/unit.rb: flush messages
* test/lib/minitest/unit.rb (MiniTest::Unit#_run_suite): flush messages after each tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/minitest')
-rw-r--r--test/lib/minitest/unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index 52d757b..665e614 100644
--- a/test/lib/minitest/unit.rb
+++ b/test/lib/minitest/unit.rb
@@ -948,6 +948,7 @@ module MiniTest
print "%.2f s = " % (Time.now - start_time) if @verbose
print result
puts if @verbose
+ $stdout.flush
leakchecker.check("#{inst.class}\##{inst.__name__}")