-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test ExampleOrderedQuery_ThenByDescending fails on golang-1.19.2 #113
Comments
Passes on golang-1.18 |
Interesting. If you wanna debug, I'm open to patches. |
Probably related to the change in sorting algorithm to pattern-defeating quicksort in Go 1.19. |
I'm not a go programmer, but you'd think there would be a sort_unstable() to get the faster algorithm rather than breaking a bunch of things that depend on stability. |
Since this package seems to be about linking to case insensitive libraries, the result might be actually valid. But the verbatim check is too strict for an unstable sort. How about running the output through an undependent stable sort (e.g. unix sort program with case insensitive option) and check that the result is unchanged? Would that be valid? |
There is probably already some difference between |
The text was updated successfully, but these errors were encountered: