[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup 553529f 181/340: Remove obsolete buttercup-xdesc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup 553529f 181/340: Remove obsolete buttercup-xdescribe |
Date: |
Thu, 16 Dec 2021 14:59:30 -0500 (EST) |
branch: elpa/buttercup
commit 553529f1877209772e2026b1fe0a87a2830b1aaa
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>
Remove obsolete buttercup-xdescribe
buttercup-xdescribe is no longer used by the xdescribe macro.
---
buttercup.el | 12 ------------
tests/test-buttercup.el | 18 ------------------
2 files changed, 30 deletions(-)
diff --git a/buttercup.el b/buttercup.el
index 80380fc..7a9e4a3 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -965,18 +965,6 @@ mainly calls to `describe', `it' and `before-each'."
;; make sure the suite is marked as pending
(signal 'buttercup-pending "PENDING")))
-(defun buttercup-xdescribe (description function)
- "Like `buttercup-describe', but mark the suite as disabled.
-
-A disabled suite is not run.
-
-DESCRIPTION has the same meaning as in `xdescribe'. FUNCTION
-is ignored.
-`describe'."
- (ignore function)
- (buttercup-describe description (lambda ()
- (signal 'buttercup-pending "PENDING"))))
-
;;;;;;;;;;;;;;;;;;;;;;
;;; Pending Specs: xit
diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el
index 94f3ad3..d7ff1d9 100644
--- a/tests/test-buttercup.el
+++ b/tests/test-buttercup.el
@@ -497,24 +497,6 @@
:to-be
'pending))))
-
-(describe "The `buttercup-xdescribe' function"
- (it "should be a no-op"
- (expect (buttercup-xdescribe
- "bla bla"
- (lambda () (error "Should not happen")))
- :not :to-throw))
-
- (it "should add a pending suite"
- (let ((buttercup--current-suite nil)
- (buttercup-suites nil))
- (buttercup-xdescribe
- "bla bla"
- (lambda () nil))
- (expect (buttercup-suite-status (car buttercup-suites))
- :to-be
- 'pending))))
-
;;;;;;;;;;;;;;;;;;;;;;
;;; Pending Specs: xit
- [nongnu] elpa/buttercup 4128f3e 147/340: Document ERT support in writing-tests.md, (continued)
- [nongnu] elpa/buttercup 4128f3e 147/340: Document ERT support in writing-tests.md, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 47dd72c 156/340: Set file local variables for consistent code style, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 5458dcc 158/340: Replace buttercup-*-parents with buttercup-suite-or-spec-parents, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 77367d3 165/340: Change shebang to use /usr/bin/env, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup bbbf692 166/340: Fix more compile warnings., ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup bcaa7f0 163/340: Use buttercup--specs where possible, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 61ebe91 171/340: Update README.md, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 39d625c 173/340: Bump version: 1.11 → 1.12, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 6330610 176/340: Add more markdown running functions, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 3d3aff9 178/340: Set file local code-style variables in test-buttercup.el, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 553529f 181/340: Remove obsolete buttercup-xdescribe,
ELPA Syncer <=
- [nongnu] elpa/buttercup 5821cd0 184/340: Merge pull request #131 from snogge/markdown, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a394fea 191/340: Bump version: 1.13 → 1.14, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 7cea4c6 192/340: Test buttercup-run, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b410c78 193/340: Separate return code from reporter, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9b230dc 202/340: Fix the "should print the elapsed time for all specs" test, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9d172a7 205/340: Merge pull request #145 from snogge/test-fixes, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup c100fad 210/340: Implement buttercup-suppress-warning-capture, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup c994aea 212/340: Add LICENSE file., ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup d9ce620 213/340: Merge branch 'license-file' into master, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 49f01fc 219/340: Merge branch 'master' into test-emacs-26.3, ELPA Syncer, 2021/12/16