emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/buttercup dd32cc7 298/340: test: Fix "should color-print p


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup dd32cc7 298/340: test: Fix "should color-print pending spec count in default color"
Date: Thu, 16 Dec 2021 14:59:54 -0500 (EST)

branch: elpa/buttercup
commit dd32cc7dec1f1ca6dfae1fc1fdfdffa48e75ef08
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]