diff options
Diffstat (limited to 'lib/minitest')
-rw-r--r-- | lib/minitest/unit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/minitest/unit.rb b/lib/minitest/unit.rb index 65e84230dd..3e5defa374 100644 --- a/lib/minitest/unit.rb +++ b/lib/minitest/unit.rb @@ -656,11 +656,12 @@ module MiniTest inst = suite.new method inst._assertions = 0 + print "#{suite}##{method} = " % time if @verbose start_time = Time.now result = inst.run self time = Time.now - start_time - print "#{suite}##{method} = %.2f s = " % time if @verbose + print "%.2f s = " % time if @verbose print result puts if @verbose |