branch: elpa/buttercup
commit 8b3f7a0b9feedbcda42201f97c5f1422b294b458
Merge: cccdedf 06201f2
Author: Ola Nilsson <[email protected]>
Commit: GitHub <[email protected]>
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)