aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog6
-rw-r--r--test/automated/seq-tests.el6
2 files changed, 9 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 74fc7cebd56..b080961f681 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -3,6 +3,12 @@
3 * automated/package-test.el (package-test-signed): 3 * automated/package-test.el (package-test-signed):
4 More informative failure messages. 4 More informative failure messages.
5 5
62015-02-09 Nicolas Petton <nicolas@petton.fr>
7
8 * automated/seq-tests.el (test-seq-group-by): Update test for
9 seq-group-by to check that sequence elements are returned in the
10 correct order.
11
62015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org> 122015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
7 13
8 * automated/python-tests.el (python-eldoc--get-symbol-at-point-1) 14 * automated/python-tests.el (python-eldoc--get-symbol-at-point-1)
diff --git a/test/automated/seq-tests.el b/test/automated/seq-tests.el
index ecbc0043210..b92a15cacc5 100644
--- a/test/automated/seq-tests.el
+++ b/test/automated/seq-tests.el
@@ -216,10 +216,10 @@ Evaluate BODY for each created sequence.
216 (should (equal (seq-partition '(1 2 3) -1) '()))) 216 (should (equal (seq-partition '(1 2 3) -1) '())))
217 217
218(ert-deftest test-seq-group-by () 218(ert-deftest test-seq-group-by ()
219 (should (equal (seq-group-by #'test-sequences-oddp [1 2 3 4]) 219 (should (equal (seq-group-by #'test-sequences-oddp '(1 2 3 4))
220 '((t 3 1) (nil 4 2)))) 220 '((t 1 3) (nil 2 4))))
221 (should (equal (seq-group-by #'car '((a 1) (b 3) (c 4) (a 2))) 221 (should (equal (seq-group-by #'car '((a 1) (b 3) (c 4) (a 2)))
222 '((a (a 2) (a 1)) (b (b 3)) (c (c 4)))))) 222 '((b (b 3)) (c (c 4)) (a (a 1) (a 2))))))
223 223
224(provide 'seq-tests) 224(provide 'seq-tests)
225;;; seq-tests.el ends here 225;;; seq-tests.el ends here