branch: elpa/buttercup commit 6655f773265efdd304ae3554557ac056b6e897d3 Author: Ola Nilsson <ola.nils...@gmail.com> Commit: Ola Nilsson <ola.nils...@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)))))