summaryrefslogtreecommitdiffstats
path: root/tests/012
diff options
context:
space:
mode:
Diffstat (limited to 'tests/012')
-rw-r--r--tests/012/sort.tl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/012/sort.tl b/tests/012/sort.tl
index 03c122d3..92811715 100644
--- a/tests/012/sort.tl
+++ b/tests/012/sort.tl
@@ -88,3 +88,8 @@
(((a 1) (a 2) (a 3) (a 4))
((b 1) (b 2))
((c 2) (c 1))))
+
+(mtest
+ (hist-sort nil) nil
+ (hist-sort '(3 4 5)) ((3 . 1) (4 . 1) (5 . 1))
+ (hist-sort '("a" "b" "c" "a" "b" "a" "b" "a")) (("a" . 4) ("b" . 3) ("c" . 1)))