summaryrefslogtreecommitdiff
path: root/test/src/print-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/print-tests.el')
-rw-r--r--test/src/print-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/src/print-tests.el b/test/src/print-tests.el
index 46368c69ada..01e65028bc7 100644
--- a/test/src/print-tests.el
+++ b/test/src/print-tests.el
@@ -58,5 +58,9 @@
(buffer-string))
"--------\n"))))
+(ert-deftest print-read-roundtrip ()
+ (let ((sym '\’bar))
+ (should (eq (read (prin1-to-string sym)) sym))))
+
(provide 'print-tests)
;;; print-tests.el ends here