]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typo scratch/timsort
authorAndrew G Cohen <cohen@andy.bu.edu>
Fri, 18 Mar 2022 13:26:54 +0000 (21:26 +0800)
committerAndrew G Cohen <cohen@andy.bu.edu>
Fri, 18 Mar 2022 13:26:54 +0000 (21:26 +0800)
* test/src/fns-tests.el (fns-tests-sort):  Compare with independently
sorted list.

test/src/fns-tests.el

index 6e8f1a1da9b7b09f6bed47f70e79497cbbd3c11f..5b252e184f0cf030a4a04b6adf5b9266afcb9ee2 100644 (file)
     (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