diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-05-17 18:32:45 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-05-17 18:32:45 +0200 |
| commit | ac0ff4c7eb28f8065d8a0c3edc8761f20a6d4d9c (patch) | |
| tree | 3402339f3ef1812f6048268b0a37195323d40c89 /compat-tests.el | |
| parent | 84641a11e87e68d3c5e37d2be45cc6777301b211 (diff) | |
value<: Compare buffers by name
Diffstat (limited to 'compat-tests.el')
| -rw-r--r-- | compat-tests.el | 4 |
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) #'<)) |
