summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOla Nilsson <ola.nilsson@gmail.com>2020-07-12 23:30:29 +0200
committerOla Nilsson <ola.nilsson@gmail.com>2020-07-14 00:44:33 +0200
commitc9addd5be2419de75cb71feefff2cd085c6aeced (patch)
tree5d8c9925c44ccb835b6c2833b259221697cef0f9
parent24a7bb9389416ce3e9a09f98aafa7ba51b56fd0c (diff)
Lift spec-done handling into buttercup-reporter-batch
... from buttercup-reporter-batch-color. Use the buttercup-color variable to differentiate the two cases.
-rw-r--r--buttercup.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/buttercup.el b/buttercup.el
index 6ba18d7..2be2324 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1744,12 +1744,6 @@ colors.
EVENT and ARG are described in `buttercup-reporter'."
(pcase event
- (`spec-done
- (when (eq (buttercup-spec-status arg) 'failed)
- (setq buttercup-reporter-batch--failures
- (append buttercup-reporter-batch--failures
- (list arg))))
- (buttercup-reporter-batch--print-spec-done-line arg buttercup-color))
(_
;; Fall through to buttercup-reporter-batch implementation.
(buttercup-reporter-batch event arg)))