[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup 5809969 041/184: Add test case for margin
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup 5809969 041/184: Add test case for margin |
Date: |
Wed, 6 Oct 2021 00:01:03 -0400 (EDT) |
branch: elpa/popup
commit 5809969141f5c08c60b9430d81d49770b7bb0d84
Author: yuuki arisawa <yuuki.ari@gmail.com>
Commit: yuuki arisawa <yuuki.ari@gmail.com>
Add test case for margin
---
tests/popup-test.el | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/popup-test.el b/tests/popup-test.el
index 6babe5b..ac48b08 100644
--- a/tests/popup-test.el
+++ b/tests/popup-test.el
@@ -238,3 +238,14 @@ HELP-DELAY is a delay of displaying helps."
(should (eq (line-number-at-pos (car points))
(- (window-body-height) 5))))
)))
+
+(ert-deftest popup-test-margin-at-middle ()
+ (popup-test-with-temp-buffer
+ (insert " ")
+ (let ((popup (popup-tip "Margin?" :nowait t :margin t)))
+ (with-current-buffer (popup-test-helper-get-overlays-buffer)
+ (let ((points (popup-test-helper-match-points '(" Margin? "))))
+ (should (every #'identity points))
+ (should (equal (car (popup-test-helper-points-to-columns points))
+ 0))
+ )))))
- [nongnu] elpa/popup 93a6cce 005/184: Added commentary., (continued)
- [nongnu] elpa/popup 93a6cce 005/184: Added commentary., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup efde704 002/184: Added README., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup cb51206 008/184: Add mouse support., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 6862a47 011/184: Fixed cascade menu corruption., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 4212a36 021/184: Add tests/run-test.el, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup d669e38 025/184: Remove junk., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 6e467e2 026/184: Add Travis CI build status, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 13dbaf5 037/184: Change test helper spec, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup c0937ea 053/184: Truncate summary first, then string itself, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup a49ffd0 081/184: Rename :initial-cursor keyword option to :cursor., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 5809969 041/184: Add test case for margin,
ELPA Syncer <=
- [nongnu] elpa/popup e5794f8 052/184: Truncate summary when it is too long, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 967cde1 067/184: Merge pull request #30 from tkf/summary-face, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e164f3b 098/184: fixed without ignore-errors, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 34be113 116/184: Merge pull request #78 from aki2o/fix-popup-delete, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup dcc9ee5 119/184: Merge pull request #80 from ancane/master, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 0bead7c 086/184: Use cl-lib functions instead of cl in tests, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 29c6db4 130/184: Pass filtering function as an argument to popup-menu*, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 5374e55 110/184: Merge pull request #73 from auto-complete/add-initial-index-test, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 47008e1 135/184: Allow the user to specify a custom function to build the regexp in isearch, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 3d62f15 161/184: Merge pull request #112 from PuercoWork/patch-1, ELPA Syncer, 2021/10/06