]> git.eshelyaron.com Git - emacs.git/commit
Fix stability confusion in sort-tests
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Apr 2016 08:22:00 +0000 (01:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Apr 2016 08:22:32 +0000 (01:22 -0700)
commit80128a784912096c6b0ee46b76b068e019cff057
treefcec0d4ae33eac780b308b45b5b5044b6f942353
parent1e4aa42aa50fe4429f0a8d147af5254d5ec960a5
Fix stability confusion in sort-tests

Problem reported by Philipp Stephani (Bug#23205).
* test/automated/sort-tests.el:
(sort-tests--insert-words-sort-and-compare):
Don’t assume that reversing a sorted list is the same
as sorting with the reverse predicate.  This is not true
for stable sorts when items compare equal.
test/automated/sort-tests.el