branch: elpa/buttercup
commit a019f7aa51eaa8ac0d8e15dd9da6b0413e30ebd7
Author: Ryan C. Thompson <r...@thompsonclan.org>
Commit: Ryan C. Thompson <r...@thompsonclan.org>

    Use spy-calls-count as appropriate
---
 buttercup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buttercup.el b/buttercup.el
index c12a34c..18b313d 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -647,7 +647,7 @@ See also `buttercup-define-matcher'."
   (setq spy (funcall spy)
         number (funcall number))
   (cl-assert (symbolp spy))
-  (let* ((call-count (length (spy-calls-all spy))))
+  (let* ((call-count (spy-calls-count spy)))
     (cond
      ((= number call-count)
       t)

Reply via email to