Skip to content

fix: do not leak testify package in tlscommon#271

Merged
kruskall merged 2 commits intoelastic:mainfrom
kruskall:fix/tlscommon-test
Jan 31, 2025
Merged

fix: do not leak testify package in tlscommon#271
kruskall merged 2 commits intoelastic:mainfrom
kruskall:fix/tlscommon-test

Conversation

@kruskall
Copy link
Copy Markdown
Member

What does this PR do?

move testify methods to a separate test package to avoid polluting the module graph for downstream clients and leaking the dependency

Why is it important?

test dependencies shouldn't be used in non-test packages

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

Related issues

move testify methods to a separate test package to avoid polluting
the module graph for downstream clients and leaking the dependency
@kruskall kruskall requested a review from a team as a code owner January 31, 2025 21:26
@kruskall kruskall requested review from AndersonQ and belimawr and removed request for a team January 31, 2025 21:26
@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

History

@kruskall kruskall merged commit b5b33be into elastic:main Jan 31, 2025
@kruskall kruskall deleted the fix/tlscommon-test branch January 31, 2025 21:54
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.

3 participants