-
Notifications
You must be signed in to change notification settings - Fork 40
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
Import of testing package causes testing flags to be registered #20
Comments
Hi! Thanks for the report, hoping to get a fix out for this soon. |
This should be resolved in 1.6.0: https://github.com/honeycombio/libhoney-go/releases/tag/v1.6.0 Thanks again! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the
testing
package is imported it registers a number of global flags (golang/go#21051). Since thetest_helpers.go
file in this project importstesting
, any project that imports this library will get those flags.Can
test_helpers.go
be renamed to have the_test.go
suffix,helpers_test.go
for example, so that it will be excluded from compilation when not running tests?Thank you.
The text was updated successfully, but these errors were encountered: