[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup b297b1d 241/340: Revert "Change: (buttercup-defi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup b297b1d 241/340: Revert "Change: (buttercup-define-matcher-for-binary-function) Add newlines" |
Date: |
Thu, 16 Dec 2021 14:59:42 -0500 (EST) |
branch: elpa/buttercup
commit b297b1dbfa21c87ffbcfc12d19262765387848de
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>
Revert "Change: (buttercup-define-matcher-for-binary-function) Add newlines"
While the change made some tests more readable, it also turned the
output from this test
(describe "A simple failing test"
(it "should not look like this"
(expect 2 :to-equal 1)))
from
A simple failing test should not look like this
Traceback (most recent call last):
(buttercup-fail "%s" "Expected `2' to be `equal' to `1', but instead it
wa...
(signal buttercup-failed "Expected `2' to be `equal' to `1', but
instead i...
FAILED: Expected `2' to be `equal' to `1', but instead it was `2' which
does not match because: (different-atoms (2 "#x2" "?") (1 "#x1" "?")).
into
A simple failing test should not look like this
Traceback (most recent call last):
(buttercup-fail "%s" "Expected:
`2'
to be `equal' to:
`1'
but in...
(signal buttercup-failed "Expected:
`2'
to be `equal' to:
`1'
bu...
FAILED: Expected:
`2'
to be `equal' to:
`1'
but instead it was:
`2'
which does not match because:
(different-atoms (2 "#x2" "?") (1 "#x1" "?")).
This reverts commit b2edd3512e61762fecb520b45e50a86991c57358.
---
buttercup.el | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/buttercup.el b/buttercup.el
index c3bec14..ed58dc3 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -383,17 +383,7 @@ See also `buttercup-define-matcher'."
(if explainer
;; %x is the undocumented substitution for the
;; explainer's output
- "Expected:
- `%A'
-
-to be `%f' to:
- `%b'
-
-but instead it was:
- `%a'
-
-which does not match because:
- %x."
+ "Expected `%A' to be `%f' to `%b', but instead it was `%a'
which does not match because: %x."
"Expected `%A' to be `%f' to `%b', but instead it was `%a'.")))
(unless expect-mismatch-phrase
(setq expect-mismatch-phrase
- [nongnu] elpa/buttercup 1fd0d8b 260/340: Set state pending for skipped specs for correct initial count, (continued)
- [nongnu] elpa/buttercup 1fd0d8b 260/340: Set state pending for skipped specs for correct initial count, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b298517 262/340: test: Mark some local function arguments as unused, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 8e29f4c 259/340: Extract buttercup--mark-skipped from buttercup-run-discover, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 669ca99 267/340: test: Split make rule test into test-buttercup and test-docs, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 6655f77 269/340: Update test run duration output in buttercup-reporter-batch, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 0e6c09e 271/340: Correct the assume docstring, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 6848057 167/340: Bump version: 1.9 → 1.10, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 8628d45 208/340: Merge pull request #147 from snogge/suite-local-function, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a6f2486 211/340: Merge pull request #150 from DarwinAwardWinner/suppress-warning-redirect, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a019f7a 221/340: Use spy-calls-count as appropriate, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b297b1d 241/340: Revert "Change: (buttercup-define-matcher-for-binary-function) Add newlines",
ELPA Syncer <=
- [nongnu] elpa/buttercup 7903e1a 250/340: Revert "Make it possible to abort test run cleanly", ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 521b71b 253/340: Add tests to ensure pending spec state is not overwritten, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9265f83 258/340: Add test for buttercup-suites-total-specs-pending, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b360e35 264/340: test: Add tests for buttercup--mark-skipped, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9b94921 276/340: test: Add tests for buttercup-reporter-batch buttercup-done handling, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 2040757 277/340: test: Add reporter test for buttercup-started with pending specs, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a91f282 283/340: Handle multiline spec descriptions in buttercup-reporter-batch-color, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 532d082 284/340: test: Fix tab stops in send-string-to-ansi-buffer for Emacs 24.3, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 8afc407 286/340: Switch from to pcase for spec-done in buttercup-reporter-batch-color, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup d5c3ed5 289/340: Switch to Github Actions, ELPA Syncer, 2021/12/16