-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Refactor tests to plain go in util/collections #4597
🌱 Refactor tests to plain go in util/collections #4597
Conversation
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only nit I have on this would be that we are losing some of the context on the test names with this change, for example we lost the SortedByAge
context on the first test which I think is important to keep. Could you double check and maybe adjust the test names as appropriate?
Indeed, I'll try to preserve that logging context as well. |
Since With ginkgo:
Without ginkgo:
I could annotate the first argument to
or maybe just:
|
BTW, I verified that |
@JoelSpeed I nested the
|
That works for me, thanks! /lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
/milestone v0.4 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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 |
Thank you @mboersma ! |
What this PR does / why we need it:
Refactors the tests in util/collections/machine_collection_test.go to use plain Go testing instead of ginkgo. The other tests in this package were already there.
Which issue(s) this PR fixes:
Refs #4588