Skip to content

test: use a typed comparator for custom field sorting - #1588

Open
elonfliter wants to merge 1 commit into
sirupsen:masterfrom
elonfliter:test/use-typed-custom-sort
Open

test: use a typed comparator for custom field sorting#1588
elonfliter wants to merge 1 commit into
sirupsen:masterfrom
elonfliter:test/use-typed-custom-sort

Conversation

@elonfliter

Copy link
Copy Markdown

Update TestCustomSorting to use slices.SortFunc with a string comparator.

The special prefix field remains first and all other keys retain lexical order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant