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

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

[nongnu] elpa/buttercup 8b3f7a0 336/340: Merge pull request #199 from wa


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 8b3f7a0 336/340: Merge pull request #199 from wasamasa/print-args-as-sexp
Date: Thu, 16 Dec 2021 15:00:02 -0500 (EST)

branch: elpa/buttercup
commit 8b3f7a0b9feedbcda42201f97c5f1422b294b458
Merge: cccdedf 06201f2
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #199 from wasamasa/print-args-as-sexp
    
    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]