]> git.eshelyaron.com Git - emacs.git/commit
Better test-custom-opts diagnostics
authorMattias Engdegård <mattiase@acm.org>
Fri, 9 Dec 2022 11:04:01 +0000 (12:04 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 9 Dec 2022 11:07:01 +0000 (12:07 +0100)
commit465a9e78b9661edd1b77a8c1d8e262913724ab71
treecf9bec5192c443db79560d1da65941283588eaaf
parentbdbb7099784eb79ef9b94bb85f0c3dc9dae82d6c
Better test-custom-opts diagnostics

Make it easier to understand errors from the test-custom-opts test by
reporting variable values and types that didn't match.

* admin/cus-test.el (cus-test-errors): Richer contents.
(cus-test--format-error): New.
(cus-test-apropos, cus-test-errors-display, cus-test-opts):
Use new format.
admin/cus-test.el