-
Notifications
You must be signed in to change notification settings - Fork 687
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
Fix isSorted function in tests #372
Conversation
Found this while trying to sort the list of team members and maintainers. Haven't added that change yet, because that list of unsorted maintainers and members is huge. Such teams. Very unsorted.
|
How did this pass unit tests? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fejta, nikhita The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel The function was basically sorting whatever it got, before checking if it was sorted lol |
The
List()
method creates a sorted list. 😐org/config/config_test.go
Lines 83 to 91 in 45f511f
This was introduced in #350, so this PR reverts the change to the
isSorted
function./kind bug
/assign @cblecker @fejta