From 21c2260c8fc1fd5b714c77589c66a1c729342327 Mon Sep 17 00:00:00 2001 From: Ola Nilsson Date: Mon, 13 Nov 2023 22:51:53 +0100 Subject: [PATCH] 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 06c3f15..6e3b3ca 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))