branch: master
commit 9b35c3a37d840820ba8f869cb2b3f4497f620067
Author: rubikitch <[email protected]>
Commit: rubikitch <[email protected]>
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)