branch: elpa/buttercup commit dd32cc7dec1f1ca6dfae1fc1fdfdffa48e75ef08 Author: Ola Nilsson <ola.nils...@gmail.com> Commit: Ola Nilsson <ola.nils...@gmail.com>
test: Fix "should color-print pending spec count in default color" The test was calling buttercup-reporter-batch instead of buttercup-reporter-batch-color as suggested by the spec description. --- tests/test-buttercup.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el index 2525241..431d611 100644 --- a/tests/test-buttercup.el +++ b/tests/test-buttercup.el @@ -1305,9 +1305,9 @@ text properties using `ansi-color-apply'." (expect (buttercup-output) :to-match "Ran 7 out of 10 specs, 0 failed, in [0-9]+.[0-9]+[mu]?s.\n") (expect (substring (buttercup-output) - 0 (length "Ran 7 out of 10 specs, 0 failed, in")) + 0 (length "Ran 7 out of 10 specs")) :to-equal-including-properties - "Ran 7 out of 10 specs, 0 failed, in")) + "Ran 7 out of 10 specs")) (it "should not raise any error even if a spec failed" (setf (buttercup-spec-status spec) 'failed)