]> git.eshelyaron.com Git - emacs.git/commit
; Use values instead of trying to ignore them
authorMattias Engdegård <mattiase@acm.org>
Sun, 31 Jul 2022 09:48:56 +0000 (11:48 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 31 Jul 2022 10:57:47 +0000 (12:57 +0200)
commitf48493577d9dcfddecda5d8b40e156c5c063d9c6
tree1ba0b9e8700d252523a1ff24e0ce94470631e432
parentdf8dede8585257a2ee76ed93d6ecb6cf117e124a
; Use values instead of trying to ignore them

* test/lisp/subr-tests.el (test-print-unreadable-function):
* test/src/print-tests.el (test-print-unreadable-function-buffer):
Instead of binding the value of nominally side-effect-free
expressions to an ignored variable (_), make use of them.
This is more robust and provides useful extra checks in the test.
test/lisp/subr-tests.el
test/src/print-tests.el