emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/buttercup b520dcf 257/340: Print test run duration in an a


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup b520dcf 257/340: Print test run duration in an apropriate unit
Date: Thu, 16 Dec 2021 14:59:46 -0500 (EST)

branch: elpa/buttercup
commit b520dcff0605891666203e187eebee0360f15cb9
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    Print test run duration in an apropriate unit
    
    Use seconds-to-string to format the test run duration using proper SI
    units.
---
 buttercup.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/buttercup.el b/buttercup.el
index d8a2955..4c2746b 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1702,19 +1702,19 @@ EVENT and ARG are described in `buttercup-reporter'."
             (concat
              "Ran %s out of %s specs,"
              (buttercup-colorize " %s failed" (if (eq 0 failed) 'green 'red))
-             ", in %.1f seconds.\n")
+             ", in %s.\n")
             (- defined pending)
             defined
             failed
-            duration)
+            (seconds-to-string duration))
          (buttercup--print
           (concat
            "Ran %s specs,"
            (buttercup-colorize " %s failed" (if (eq 0 failed) 'green 'red))
-           ", in %.1f seconds.\n")
+           ", in %s.\n")
           defined
           failed
-          duration))))
+          (seconds-to-string duration)))))
 
     (_
      ;; Fall through to buttercup-reporter-batch implementation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]