Skip to content

Commit

Permalink
test: Correct wording of some matcher tests
Browse files Browse the repository at this point in the history
Remove the extra 'not' that had snuck in there.
  • Loading branch information
snogge committed Dec 8, 2023
1 parent 48a81c6 commit 21c2260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-buttercup.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 21c2260

Please sign in to comment.