Skip to content

Conversation

AlexNPavel
Copy link
Contributor

Description of the change: This commit removes Cleanup's dependence on t.

Motivation for the change: The test library has functions that are useful outside of go test, such as createFromYAML, ctx resource deletion, and auto setting of resource cleanup when using the framework's client. The only function that required t and would fail if it did not exist was Cleanup, as other function could handle if it was nil.

The test library has functions that are useful outside of `go test`,
such as `createFromYAML`, `ctx` resource deletion, and auto setting
of resource cleanup when using the framework's client. The only
function that required `t` and would fail if it did not exist was
`Cleanup`, as other function could handle if it was nil. This
commit removes `Cleanup`'s dependence on `t`
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 11, 2019
Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlexNPavel AlexNPavel merged commit 524e2bb into operator-framework:master Mar 12, 2019
@AlexNPavel AlexNPavel deleted the test-no-t branch March 12, 2019 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants