Merge pull request #2691 from deuwert/tidyup-test-time

Round execution time
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-01-03 20:20:36 +09:00
+2 -1
View File
@@ -228,7 +228,8 @@ def report()
t_print("Crash: #{$kill_test}\n")
if Object.const_defined?(:Time)
t_print(" Time: #{Time.now - $test_start} seconds\n")
t_time = Time.now - $test_start
t_print(" Time: #{t_time.round(2)} seconds\n")
end
end