]> git.eshelyaron.com Git - emacs.git/commit
Prefer oddp/evenp to free-coding them in tests
authorStefan Kangas <stefankangas@gmail.com>
Mon, 17 Feb 2025 03:52:49 +0000 (04:52 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:50:30 +0000 (09:50 +0100)
commit273ee7369f085fdb78b7a0f5ed5801285e983560
tree84edaa1b4f7e42dc2df72fdd76278b4f127d0cc5
parent95ecd011634590704feb3ddf877bbbde2abf011c
Prefer oddp/evenp to free-coding them in tests

* test/lisp/emacs-lisp/bindat-tests.el (bindat-test--sint):
* test/lisp/emacs-lisp/seq-tests.el (test-seq-drop-while)
(test-seq-take-while, test-seq-filter, test-seq-remove)
(test-seq-count, test-seq-some, test-seq-find, test-seq-every-p)
(test-seq-group-by):
* test/lisp/eshell/em-pred-tests.el (eshell-with-file-attributes-from-name):
* test/lisp/filenotify-tests.el (file-notify-test07-many-events)
(file-notify-test09-watched-file-in-watched-dir):
* test/src/floatfns-tests.el (bignum-expt, bignum-round):
* test/src/undo-tests.el (undo-test4): Prefer oddp/evenp to free-coding
them.

(cherry picked from commit 5ce746c3b0fa3a0b73796182960ff06cf3f31473)
test/lisp/emacs-lisp/bindat-tests.el
test/lisp/emacs-lisp/seq-tests.el
test/lisp/eshell/em-pred-tests.el
test/lisp/filenotify-tests.el
test/src/floatfns-tests.el
test/src/undo-tests.el