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

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

[nongnu] elpa/buttercup 6655f77 269/340: Update test run duration output


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 6655f77 269/340: Update test run duration output in buttercup-reporter-batch
Date: Thu, 16 Dec 2021 14:59:48 -0500 (EST)

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

    Update test run duration output in buttercup-reporter-batch
    
    ... to match that of buttercup-reporter-batch-color.
    
    buttercup-reporter-batch-color was changed in
    b520dcff0605891666203e187eebee0360f15cb9 to print the total runtime
    using seconds-to-string, but buttercup-reporter-batch was forgotten.
---
 buttercup.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/buttercup.el b/buttercup.el
index 6b7b6fe..07cef4a 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1630,15 +1630,15 @@ EVENT and ARG are described in `buttercup-reporter'."
                                     buttercup-reporter-batch--start-time))))
          (if (> pending 0)
              (buttercup--print
-              "Ran %s out of %s specs, %s failed, in %.1f seconds.\n"
+              "Ran %s out of %s specs, %s failed, in %s.\n"
               (- defined pending)
               defined
               failed
-              duration)
-           (buttercup--print "Ran %s specs, %s failed, in %.1f seconds.\n"
+              (seconds-to-string duration))
+           (buttercup--print "Ran %s specs, %s failed, in %s.\n"
                              defined
                              failed
-                             duration))))
+                             (seconds-to-string duration)))))
 
       (_
        (error "Unknown event %s" event)))))



reply via email to

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