]> git.eshelyaron.com Git - emacs.git/commit
pp-fill: Fix tests breakage
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 17 Jun 2023 22:05:33 +0000 (18:05 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 17 Jun 2023 22:05:33 +0000 (18:05 -0400)
commita9c962be961ae121c4202943879dcf28f3a8364a
treeef918d1e6c317c30c9924a9216b18fda77bc703d
parent017475a70ed51b69ebe41610e0dd1299bda1bfe3
pp-fill: Fix tests breakage

* lisp/emacs-lisp/pp.el (pp-to-string, pp-buffer, pp): Preserve old
behavior of (almost always) returning a trailing newline.

* test/lisp/emacs-lisp/pp-tests.el (pp-print-quote): Adjust tests, now
that `pp-to-string` always returns a trailing newline, rather than only
most of the time.

* test/lisp/emacs-lisp/backtrace-tests.el
(backtrace-tests--single-and-multi-line): Make the test less sensitive
to the choice of what is "pretty".
lisp/emacs-lisp/pp.el
test/lisp/emacs-lisp/backtrace-tests.el
test/lisp/emacs-lisp/pp-tests.el