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

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

[nongnu] elpa/buttercup a019f7a 221/340: Use spy-calls-count as appropri


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup a019f7a 221/340: Use spy-calls-count as appropriate
Date: Thu, 16 Dec 2021 14:59:38 -0500 (EST)

branch: elpa/buttercup
commit a019f7aa51eaa8ac0d8e15dd9da6b0413e30ebd7
Author: Ryan C. Thompson <rct@thompsonclan.org>
Commit: Ryan C. Thompson <rct@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

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