branch: elpa/buttercup commit 06201f272ee16baea294693f01e160272e487f29 Author: Vasilij Schneidermann <m...@vasilij.de> Commit: Ola Nilsson <ola.nils...@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)