1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Use forward-line instead of next-line in noninteractive test

* test/lisp/textmodes/page-tests.el (page-tests-what-page):
Silence byte-compiler warning; forward-line works nicely here.
This commit is contained in:
Mattias Engdegård 2024-01-14 13:37:44 +01:00
parent cd0855cbd8
commit d4b1e2c3b6

View file

@ -110,7 +110,7 @@
(should (equal (page--what-page) '(1 1)))
(forward-page)
(should (equal (page--what-page) '(2 1)))
(next-line)
(forward-line)
(should (equal (page--what-page) '(2 2)))
(forward-page)
(should (equal (page--what-page) '(3 1)))))