branch: master
commit 2cbec070f197967556422e34b4113e7b27147a48
Merge: bb13df5 9b35c3a
Author: R. Bernstein <[email protected]>
Commit: R. Bernstein <[email protected]>

    Merge pull request #6 from rubikitch/better-failure-message
    
    Use %S to print expected/actual message.
---
 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