aboutsummaryrefslogtreecommitdiff
path: root/compat-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'compat-tests.el')
-rw-r--r--compat-tests.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat-tests.el b/compat-tests.el
index de86214..ece115c 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -1810,7 +1810,9 @@
(compat--should-value< [1 2] [2 3])
(compat--should-value< [1 2 3] [2])
(compat--should-value< [0 1 2] [0 2 3])
- (compat--should-value< [0 1 2 3] [0 2]))
+ (compat--should-value< [0 1 2 3] [0 2])
+ ;; Buffers are compared by name
+ (compat--should-value< (get-buffer-create "a") (get-buffer-create "b")))
(ert-deftest compat-sort ()
(should-equal (list 1 2 3) (sort (list 1 2 3) #'<))