Skip to content
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

minor: duplicate test object cleanup #270

Closed
ahmetb opened this issue Jul 17, 2019 · 1 comment · Fixed by #283
Closed

minor: duplicate test object cleanup #270

ahmetb opened this issue Jul 17, 2019 · 1 comment · Fixed by #283
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Comments

@ahmetb
Copy link
Member

ahmetb commented Jul 17, 2019

Looks like both pkg/receipt/receipt_test.go and pkg/info/info_test.go have this in-memory plugin + pluginName definition.

It would be good to dedupe this in a testdata/sampleplugin_test.go (exported identifier) and import here, I think.

/kind cleanup

@k8s-ci-robot k8s-ci-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jul 17, 2019
@corneliusweig
Copy link
Contributor

Note: there are two todo items labeled with the issue number that should be addressed in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants