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

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

[nongnu] elpa/buttercup 21c2260c8f 7/9: test: Correct wording of some ma


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 21c2260c8f 7/9: test: Correct wording of some matcher tests
Date: Wed, 21 Feb 2024 18:59:25 -0500 (EST)

branch: elpa/buttercup
commit 21c2260c8fc1fd5b714c77589c66a1c729342327
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    test: Correct wording of some matcher tests
    
    Remove the extra 'not' that had snuck in there.
---
 tests/test-buttercup.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el
index 06c3f151f8..6e3b3ca958 100644
--- a/tests/test-buttercup.el
+++ b/tests/test-buttercup.el
@@ -671,13 +671,13 @@ text properties using `ansi-color-apply'."
                :to-have-been-called
                (mapcar #'buttercup--wrap-expr '('i-spy-with-my-little-eye)))
               :not :to-be-truthy))
-    (it "should not match if the spy has been called once"
+    (it "should match if the spy has been called once"
       (i-spy-with-my-little-eye)
       (expect (buttercup--apply-matcher
                :to-have-been-called
                (mapcar #'buttercup--wrap-expr '('i-spy-with-my-little-eye)))
               :to-be-truthy))
-    (it "should not match if the spy has been called multiple times"
+    (it "should match if the spy has been called multiple times"
       (dotimes (x 1000)
         (i-spy-with-my-little-eye))
       (expect (buttercup--apply-matcher
@@ -725,7 +725,7 @@ text properties using `ansi-color-apply'."
                :to-have-been-called-with
                (mapcar #'buttercup--wrap-expr '('i-spy-with-my-little-eye 
789)))
               :to-be-truthy))
-    (it "should not match if the spy has been called multiple times with the 
specified arguments"
+    (it "should match if the spy has been called multiple times with the 
specified arguments"
       (dotimes (x 10)
         (i-spy-with-my-little-eye 123)
         (i-spy-with-my-little-eye 456))



reply via email to

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