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

Remove useless test file package_test.go #880

Merged
merged 1 commit into from
May 15, 2023

Conversation

anoopcs9
Copy link
Collaborator

@anoopcs9 anoopcs9 commented May 12, 2023

package_test.go merely tested whether package import at the start of source files worked or not which got added in the early days of the project. With the progress made so far this import check is no longer relevant or useful these days. Therefore remove it from the repository.

@anoopcs9 anoopcs9 added the no-API This PR does not include any changes to the public API of a go-ceph package label May 12, 2023
@anoopcs9 anoopcs9 requested a review from phlogistonjohn May 12, 2023 10:38
@phlogistonjohn
Copy link
Collaborator

I'd suggest that this file is pretty useless and it might be better if we just deleted it rather than moving it. It may have served a good purpose in the early days of the project just to help bootstrap testing but it doesn't assert anything useful so running it doesn't prove much. What do you think?

@anoopcs9
Copy link
Collaborator Author

I'd suggest that this file is pretty useless and it might be better if we just deleted it rather than moving it. It may have served a good purpose in the early days of the project just to help bootstrap testing but it doesn't assert anything useful so running it doesn't prove much. What do you think?

I'm all for it.

@anoopcs9 anoopcs9 force-pushed the run-test-imports-test branch from 62148e1 to 99d4eac Compare May 14, 2023 18:26
package_test.go merely tested whether package import at the start of
source files worked or not which got added in the early days of the
project. With the progress made so far this import check is no longer
relevant or useful these days. Therefore remove it from the repository.

Signed-off-by: Anoop C S <[email protected]>
@anoopcs9 anoopcs9 changed the title internal: Move package_test.go from root to internal Remove useless test file package_test.go May 14, 2023
@anoopcs9 anoopcs9 force-pushed the run-test-imports-test branch from 99d4eac to 94b6f8c Compare May 14, 2023 18:26
Copy link
Collaborator

@phlogistonjohn phlogistonjohn left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mergify mergify bot merged commit 009a3fa into ceph:master May 15, 2023
@anoopcs9 anoopcs9 deleted the run-test-imports-test branch December 12, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-API This PR does not include any changes to the public API of a go-ceph package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants