summaryrefslogtreecommitdiff
path: root/test/lisp/mail/footnote-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/mail/footnote-tests.el')
-rw-r--r--test/lisp/mail/footnote-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/mail/footnote-tests.el b/test/lisp/mail/footnote-tests.el
index e33b59bc416..f3a35e3dfc6 100644
--- a/test/lisp/mail/footnote-tests.el
+++ b/test/lisp/mail/footnote-tests.el
@@ -40,7 +40,7 @@
(footnote-back-to-message)
(should (equal (buffer-substring (point-min) (point))
"hello[1]"))
- (should (equal (buffer-substring (point-min) (line-end-position))
+ (should (equal (buffer-substring (point-min) (pos-eol))
"hello[1][2] world"))))
(provide 'footnote-tests)