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

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

[nongnu] elpa/buttercup b2edd35 235/340: Change: (buttercup-define-match


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup b2edd35 235/340: Change: (buttercup-define-matcher-for-binary-function) Add newlines
Date: Thu, 16 Dec 2021 14:59:41 -0500 (EST)

branch: elpa/buttercup
commit b2edd3512e61762fecb520b45e50a86991c57358
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Change: (buttercup-define-matcher-for-binary-function) Add newlines
    
    Add newlines to expect-match-phrase to make output human-readable.
---
 buttercup.el | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/buttercup.el b/buttercup.el
index 5a10099..fecc932 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -381,7 +381,17 @@ See also `buttercup-define-matcher'."
             (if explainer
                 ;; %x is the undocumented substitution for the
                 ;; explainer's output
-                "Expected `%A' to be `%f' to `%b', but instead it was `%a' 
which does not match because: %x."
+                "Expected:
+    `%A'
+
+to be `%f' to:
+    `%b'
+
+but instead it was:
+    `%a'
+
+which does not match because:
+    %x."
               "Expected `%A' to be `%f' to `%b', but instead it was `%a'.")))
     (unless expect-mismatch-phrase
       (setq expect-mismatch-phrase



reply via email to

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