Skip to content

Fix double printing of spec descriptions #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 16, 2025

Conversation

snogge
Copy link
Collaborator

@snogge snogge commented Feb 16, 2025

Fixes #251

ert-equal-including-properties is marked as obsolete from Emacs 29.1,
replaced by equal-including-properties.  Unfortunately,
equal-including-properties in Emacs 28.X does not work for us, so
don't switch to the equal-including-properties unless
ert-equal-including-properties is marked as obsolete.
Add a spy to current-time in the
"When using quiet specs in the batch reporter"
suite so that the printed report can be checked with :to-equals
instead of :to-match.
… color

Refactor the test so each spec becomes a suite of two specs doint the
same test with and without color enabled.

This exposes the bug described in jorgenschaefer#251
The spec descriptions would be printed twice when
buttercup-reporter-batch-quiet-statuses is non-empty.
@snogge snogge merged commit ee47bfe into jorgenschaefer:master Feb 16, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

buttercup --no-skip causes spec text to be printed twice
1 participant