Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor clock skew helper test files#9989

Open
zubron wants to merge 1 commit intomasterfrom
task/refactor-sig-test-imports
Open

Refactor clock skew helper test files#9989
zubron wants to merge 1 commit intomasterfrom
task/refactor-sig-test-imports

Conversation

@zubron
Copy link
Contributor

@zubron zubron commented Jan 16, 2026

No description provided.

@zubron zubron requested a review from N-o-Z January 16, 2026 22:27
@zubron zubron added exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached labels Jan 16, 2026
@github-actions github-actions bot added area/gateway Changes to the gateway area/testing Improvements or additions to tests labels Jan 16, 2026
Copy link
Member

@N-o-Z N-o-Z left a comment

Choose a reason for hiding this comment

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

Go best practices call for package naming to align with directory name.
Also, there's always tension between testing internal functionality in a package file vs exposing methods so they can be used in a test package. I think in this case it makes sense to expose the (single?) method required for the testing and move all the test code to a test package. WDYT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/gateway Changes to the gateway area/testing Improvements or additions to tests exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants