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

Make util test function part of test files #129

Merged
merged 1 commit into from Jun 6, 2023

Conversation

jfrabaute
Copy link
Contributor

The function defined in the testing.go file is only part of the tests and it is importing "testing".
Adding _test suffix makes it part of the test suite only so the function is not part of the production code, which is also not importing "testing" package in production binary as well.

This fixes #117

The function defined in the testing.go file is only part of the tests
and it is importing "testing".
Adding _test suffix makes it part of the test suite only so the function
is not part of the production code, which is also not importing
"testing" package in production binary as well.
@hashicorp-cla
Copy link

hashicorp-cla commented May 1, 2023

CLA assistant check
All committers have signed the CLA.

@jefferai
Copy link
Member

jefferai commented Jun 6, 2023

Thanks!

@jefferai jefferai merged commit 41616a9 into hashicorp:master Jun 6, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

move testing.go to a test only package
3 participants