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

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

[elpa] master 9b35c3a 01/26: Use %S to print expected/actual message.


From: Rocky Bernstein
Subject: [elpa] master 9b35c3a 01/26: Use %S to print expected/actual message.
Date: Thu, 25 May 2017 02:22:12 -0400 (EDT)

branch: master
commit 9b35c3a37d840820ba8f869cb2b3f4497f620067
Author: rubikitch <address@hidden>
Commit: rubikitch <address@hidden>

    Use %S to print expected/actual message.
    
    (assert-equal '("foo") '("bar"))
    shows
      Expected: ("foo")
      Got: ("bar")
---
 test-simple.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-simple.el b/test-simple.el
index a72e179..e677e6c 100644
--- a/test-simple.el
+++ b/test-simple.el
@@ -183,7 +183,7 @@ out information from the previous run."
                  (format "Message: %s" fail-message)
                ""))
             (expect-message
-             (format "\n  Expected: %s\n  Got: %s" expected actual))
+             (format "\n  Expected: %S\n  Got: %S" expected actual))
             (test-info-mess
              (if (boundp 'test-info)
                  (test-info-description test-info)



reply via email to

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