diff options
Diffstat (limited to 'test/lisp/emacs-lisp/pp-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/pp-tests.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/pp-tests.el b/test/lisp/emacs-lisp/pp-tests.el index 68095ea08c8..d964ed38986 100644 --- a/test/lisp/emacs-lisp/pp-tests.el +++ b/test/lisp/emacs-lisp/pp-tests.el @@ -85,4 +85,13 @@ (signal (car err) (cdr err)) )))))))) +(ert-deftest pp-tests--bug76715 () + (with-temp-buffer + (let ((pp-default-function #'pp-fill) + (fill-column 8) + (val '(x. y{ z. a{ b. x. y{ z. a{ b.))) + (pp val (current-buffer)) + (goto-char (point-min)) + (should (equal (read (current-buffer)) val))))) + ;;; pp-tests.el ends here. |