Indent ERT failure explanations rigidly
authorF. Jason Park <jp@neverwas.me>
Fri, 9 Aug 2024 23:49:28 +0000 (16:49 -0700)
committerF. Jason Park <jp@neverwas.me>
Sun, 25 Aug 2024 16:01:02 +0000 (09:01 -0700)
commit0a500193087efc96aa3791dc4c2084ef5f6c3c06
treee851fc49ef0819d19ee4992608d90f9af66142af
parent713069dd7a87cff8388c25f1bc2c2c1b5217b1ca
Indent ERT failure explanations rigidly

This also affects the listing of `should' forms produced by hitting
the L key on a test button in an ERT buffer.

* lisp/emacs-lisp/ert.el (ert--pp-with-indentation-and-newline):
Indent the pretty-printed result to match the caller's current column
as a reference indentation.
* test/lisp/emacs-lisp/ert-tests.el
(ert--pp-with-indentation-and-newline): New test.  (Bug#72561)
lisp/emacs-lisp/ert.el
test/lisp/emacs-lisp/ert-tests.el