Revert "Add macro seq-setq
."
This reverts commit a8a3fd8f8e
.
The same patch was applied twice. Remove the second instance.
This commit is contained in:
parent
22d8e71d04
commit
3fd0cc85a5
2 changed files with 0 additions and 41 deletions
|
@ -407,30 +407,6 @@ Evaluate BODY for each created sequence.
|
|||
(should (null b))
|
||||
(should (null c))))
|
||||
|
||||
(ert-deftest test-seq-setq ()
|
||||
(with-test-sequences (seq '(1 2 3 4))
|
||||
(let (a b c d e)
|
||||
(seq-setq (a b c d e) seq)
|
||||
(should (= a 1))
|
||||
(should (= b 2))
|
||||
(should (= c 3))
|
||||
(should (= d 4))
|
||||
(should (null e)))
|
||||
(let (a b others)
|
||||
(seq-setq (a b &rest others) seq)
|
||||
(should (= a 1))
|
||||
(should (= b 2))
|
||||
(should (same-contents-p others (seq-drop seq 2)))))
|
||||
(let ((a)
|
||||
(seq '(1 (2 (3 (4))))))
|
||||
(seq-setq (_ (_ (_ (a)))) seq)
|
||||
(should (= a 4)))
|
||||
(let (seq a b c)
|
||||
(seq-setq (a b c) seq)
|
||||
(should (null a))
|
||||
(should (null b))
|
||||
(should (null c))))
|
||||
|
||||
(ert-deftest test-seq-min-max ()
|
||||
(with-test-sequences (seq '(4 5 3 2 0 4))
|
||||
(should (= (seq-min seq) 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue