]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Shorter execution time format
[goredo.git] / run.go
diff --git a/run.go b/run.go
index 07882cdd71949f58774c8d8301edcb9a8adbf9d5..4ca90d649af939e151326ea2636f65cd59e6f3bc 100644 (file)
--- a/run.go
+++ b/run.go
@@ -89,7 +89,7 @@ func (e *RunErr) Name() string {
        if e.Finished == nil {
                return name
        }
-       return fmt.Sprintf("%s (%fsec)", name, e.Finished.Sub(*e.Started).Seconds())
+       return fmt.Sprintf("%s (%.3fs)", name, e.Finished.Sub(*e.Started).Seconds())
 }
 
 func (e RunErr) Error() string {