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

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

[nongnu] elpa/buttercup 06201f2 335/340: Print :to-have-been-called-with


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 06201f2 335/340: Print :to-have-been-called-with args as sexp for consistency
Date: Thu, 16 Dec 2021 15:00:02 -0500 (EST)

branch: elpa/buttercup
commit 06201f272ee16baea294693f01e160272e487f29
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    Print :to-have-been-called-with args as sexp for consistency
---
 buttercup.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buttercup.el b/buttercup.el
index ed09d5c..2599326 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -643,10 +643,10 @@ See also `buttercup-define-matcher'."
     (cond
      ((not calls)
       (cons nil
-            (format "Expected `%s' to have been called with %s, but it was not 
called at all" spy args)))
+            (format "Expected `%s' to have been called with %S, but it was not 
called at all" spy args)))
      ((not (member args calls))
       (cons nil
-            (format "Expected `%s' to have been called with %s, but it was 
called with %s"
+            (format "Expected `%s' to have been called with %S, but it was 
called with %s"
                     spy
                     args
                     (mapconcat (lambda (args)



reply via email to

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