]> git.eshelyaron.com Git - emacs.git/commit
; whitespace.el: Use the new 'ert-with-buffer-selected' in tests
authorRichard Hansen <rhansen@rhansen.org>
Sun, 18 Dec 2022 05:24:16 +0000 (00:24 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 29 Dec 2022 09:09:05 +0000 (11:09 +0200)
commit9d814bea4600ac28dcdbf9caf386467551d7d9be
treea319586231f499ad13832d2671e0d15f1b15d27a
parent909091d7578b7225601b202fb9257dedae879e9a
; whitespace.el: Use the new 'ert-with-buffer-selected' in tests

Commit 286c48137f69fa96b80d197da90c69a42df604a3 added a new
`ert-with-test-buffer-selected' macro.  Use that macro in
'whitespace-mode' tests to avoid code duplication.  (Bug#60332)
* test/lisp/whitespace-tests.el (whitespace--with-buffer-selected):
Macro deleted.
(whitespace-tests--indirect-clone-breaks-base-markers)
(whitespace-tests--indirect-clone-markers)
(whitespace-tests--regular-clone-markers): Use
'ert-with-buffer-selected'.
test/lisp/whitespace-tests.el