[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup 25046d3 160/340: Rewrite buttercup--update-with-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup 25046d3 160/340: Rewrite buttercup--update-with-funcall with suite-or-spec functions |
Date: |
Thu, 16 Dec 2021 14:59:25 -0500 (EST) |
branch: elpa/buttercup
commit 25046d30f112934aaa640c608da7b70f2aa3e587
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Jorgen Schäfer <Jorgen.Schaefer@gmail.com>
Rewrite buttercup--update-with-funcall with suite-or-spec functions
---
buttercup.el | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/buttercup.el b/buttercup.el
index 9193ed3..6b949b8 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1364,19 +1364,11 @@ Do not change the global value.")
(`(error (buttercup-pending . ,pending-description))
(setq status 'pending
description pending-description))))
- (cond
- ((buttercup-suite-p suite-or-spec)
- (when (eq (buttercup-suite-status suite-or-spec)
- 'passed)
- (setf (buttercup-suite-status suite-or-spec) status)
- (setf (buttercup-suite-failure-description suite-or-spec) description)
- (setf (buttercup-suite-failure-stack suite-or-spec) stack)))
- (t
- (when (eq (buttercup-spec-status suite-or-spec)
- 'passed)
- (setf (buttercup-spec-status suite-or-spec) status)
- (setf (buttercup-spec-failure-description suite-or-spec) description)
- (setf (buttercup-spec-failure-stack suite-or-spec) stack))))))
+ (when (eq (buttercup-suite-or-spec-status suite-or-spec)
+ 'passed)
+ (setf (buttercup-suite-or-spec-status suite-or-spec) status
+ (buttercup-suite-or-spec-failure-description suite-or-spec)
description
+ (buttercup-suite-or-spec-failure-stack suite-or-spec) stack))))
;;;;;;;;;;;;;
;;; Reporters
- [nongnu] elpa/buttercup 8d27bb9 169/340: Bump version: 1.10 → 1.11, (continued)
- [nongnu] elpa/buttercup 8d27bb9 169/340: Bump version: 1.10 → 1.11, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 45f40c7 174/340: Restore obsoletion version for buttercup-*-parents, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup d7ab592 080/340: Bump version: 1.1 → 1.2, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup e1f71ac 086/340: Bump version: 1.3 → 1.4, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 673f84d 087/340: Add assume form to cancel tests if conditions fail, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 2aa840c 088/340: Merge pull request #40 from lunaryorn/assume-form, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 6c11d8e 097/340: Debian and Ubuntu installation instructions, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup ae606fc 153/340: Set failure description to empty string for pending specs, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 34e12fd 154/340: Get rid of 60 compile-time warnings out of 97, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 897d0e7 155/340: Remove some warnings on test-buttercup.el, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 25046d3 160/340: Rewrite buttercup--update-with-funcall with suite-or-spec functions,
ELPA Syncer <=
- [nongnu] elpa/buttercup 85aebcd 168/340: Fix issue #121, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 4089d5f 194/340: Bump version: 1.14 → 1.15, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 1850253 195/340: Remove duplicate buttercup-color declaration, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 2bc55fe 201/340: Add emacs-26.2 to CI config, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup debe7cc 204/340: Merge pull request #144 from kevinjfoley/support-var-star, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup c2d75e9 209/340: Bump version: 1.17 → 1.18, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup bb3fba3 227/340: Properly handle return values and thrown signals in spies, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a970d10 228/340: Implement spy-calls-count-returned and spy-calls-count-errors, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 8d91893 232/340: Optimize spy-calls-count-errors and spy-calls-count-returned, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 83141f7 243/340: Raise an error if spy-on is used in the wrong context, ELPA Syncer, 2021/12/16