summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G Cohen <cohen@andy.bu.edu>2022-03-18 21:26:54 +0800
committerAndrew G Cohen <cohen@andy.bu.edu>2022-03-18 21:26:54 +0800
commitac7d9e02229aa49ea936be5bf000fa015da7931c (patch)
treed30898a6aaed82302cf0903e5eab38a150599a13
parent186ec2f8d828559da3d53db9122a0be0848c03c3 (diff)
downloademacs-scratch/timsort.tar.gz
; Fix typoscratch/timsort
* test/src/fns-tests.el (fns-tests-sort): Compare with independently sorted list.
-rw-r--r--test/src/fns-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el
index 6e8f1a1da9b..5b252e184f0 100644
--- a/test/src/fns-tests.el
+++ b/test/src/fns-tests.el
@@ -272,7 +272,7 @@
(should (equal
(sort complex-vec
(lambda (x y) (funcall my-counter) (< (car x) (car y))))
- (sort complex-vec 'car-less-than-car))))
+ (sort vec 'car-less-than-car))))
;; Check for sorting stability.
(should (equal
(sort