Closed alecho closed 10 months ago
The check is supposed to do the opposite of your test.
In the current implementation, we want "natural language sorting", i.e. the way people unaware of ASCII would sort letters manually a > A > b > B > c
.
If you want to provide a different implementation, it should be opt-in :+1:
@rrrene Thanks for the comment. I was able to get an implementation working more easily than I expected. I added a test for each path, both raising issues and passing. Let me know what else I can do!
@rrrene Anything I can do to help move this along?
I have an app where this is the case. Vim's
sort
and recode's alias order say that this test should be correct but credo disagrees.I took a stab at trying to fix this but I only had a limited time and I couldn't get it work work with existing tests. I'll open an issue and link theses. Let me know if there's anything else I can do.