branch: elpa/popup
commit 7fda072d5f86e2687f12f08463476a121c68a8ed
Author: yuuki arisawa <[email protected]>
Commit: yuuki arisawa <[email protected]>
Add check for row position.
---
tests/popup-test.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/popup-test.el b/tests/popup-test.el
index ac48b08..53ce80b 100644
--- a/tests/popup-test.el
+++ b/tests/popup-test.el
@@ -224,6 +224,8 @@ HELP-DELAY is a delay of displaying helps."
(should (every #'identity points))
(should (eq (popup-test-helper-same-all-p
(popup-test-helper-points-to-columns points)) 0))
+ (should (eq (line-number-at-pos (car points))
+ (- (window-body-height) 5)))
))))
(ert-deftest popup-test-folding-short-line-right-bottom ()