[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup de70ea8 088/184: Merge pull request #56 from ryantm/
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup de70ea8 088/184: Merge pull request #56 from ryantm/cl-lib |
Date: |
Wed, 6 Oct 2021 00:01:17 -0400 (EDT) |
branch: elpa/popup
commit de70ea8d393a276d9605076490884aeb3a6e6d4f
Merge: 9587ace 0f640e0
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Merge pull request #56 from ryantm/cl-lib
Use cl-lib functions instead of cl in tests
---
tests/popup-test.el | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/tests/popup-test.el b/tests/popup-test.el
index d3ed9a7..9153117 100644
--- a/tests/popup-test.el
+++ b/tests/popup-test.el
@@ -1,8 +1,6 @@
(require 'ert)
(require 'popup)
-;; for "every" function
-(require 'cl)
(when (< (frame-width) (length "long long long long line"))
(set-frame-size (selected-frame) 80 35))
@@ -34,7 +32,7 @@ batch mode."
(let ((strings (split-string str "\n")))
(when (search-forward (car strings) nil t)
(goto-char (match-beginning 0))
- (every
+ (cl-every
'identity
(mapcar
(lambda (elem)
@@ -43,9 +41,9 @@ batch mode."
(cdr strings))))))))
(defun popup-test-helper-buffer-contents ()
- (loop with start = (point-min)
+ (cl-loop with start = (point-min)
with contents
- for overlay in (sort* (overlays-in (point-min) (point-max))
+ for overlay in (cl-sort (overlays-in (point-min) (point-max))
'< :key 'overlay-start)
for overlay-start = (overlay-start overlay)
for overlay-end = (overlay-end overlay)
@@ -561,7 +559,7 @@ Baz"))
(ert-deftest popup-test-scroll-down ()
(popup-test-with-common-setup
(setq popup
- (popup-cascade-menu (loop for x to 100 collect (format "Foo%d" x))
+ (popup-cascade-menu (cl-loop for x to 100 collect (format "Foo%d" x))
:nowait t :height 10 :margin t :scroll-bar t))
(should (popup-test-helper-rectangle-match "\
Foo0
@@ -583,7 +581,7 @@ Foo2"))
(ert-deftest popup-test-scroll-up ()
(popup-test-with-common-setup
(setq popup
- (popup-cascade-menu (loop for x to 100 collect (format "Foo%d" x))
+ (popup-cascade-menu (cl-loop for x to 100 collect (format "Foo%d" x))
:nowait t :height 10 :margin t :scroll-bar t))
(should (popup-test-helper-rectangle-match "\
Foo0
- [nongnu] elpa/popup 8ca9644 091/184: Delete trailing spaces, (continued)
- [nongnu] elpa/popup 8ca9644 091/184: Delete trailing spaces, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2af1c6c 129/184: Update copyright, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 730b408 113/184: Ignore byte-compiled files, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 46632ab 134/184: Merge pull request #93 from auto-complete/fix-for-24.5, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 91285c2 140/184: Update document about customize variables, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 441ee40 152/184: Merge pull request #107 from danrharms/master, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 8eee9c5 148/184: Merge pull request #101 from auto-complete/needless-quote, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 4265237 164/184: Fixed compatible to display line numbers mode in Emacs 26.1 or after., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 5e9043e 032/184: Bug fix for test helper, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup a651fa0 090/184: Merge pull request #59 from auto-complete/add-unstrip-parameter, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup de70ea8 088/184: Merge pull request #56 from ryantm/cl-lib,
ELPA Syncer <=
- [nongnu] elpa/popup 140f12d 122/184: Update Installation section, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 80829dd 154/184: Fix for newer Cask directory hierarchy, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup df4b147 159/184: Removed looking for new maintainer., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 0eeb16d 160/184: Merge pull request #113 from EdwardBetts/spelling, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2d3226a 169/184: Comment indentation., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup fa96fe6 155/184: Count only visible lines for popup direction, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 24619f5 183/184: Merge pull request #126 from phst/mapcar, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 416049d 179/184: Fix non displayable character, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e2eb047 126/184: svg is better than png, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup dbf62bf 131/184: readme updated, ELPA Syncer, 2021/10/06