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

test: ensure that t.Helper is used #325

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Dec 4, 2024

This enables the thelper linter which ensures helper functions actually call t.Helper so that test failures report the test itself as the failure rather than the helper, making it easier to track down what actually failed.

Relates to #274

@G-Rath G-Rath mentioned this pull request Dec 4, 2024
46 tasks
@G-Rath G-Rath force-pushed the linting/enable-thelper branch from 8316372 to e49b899 Compare December 4, 2024 18:46
@copybara-service copybara-service bot merged commit b9c510d into google:main Dec 6, 2024
7 checks passed
@G-Rath G-Rath deleted the linting/enable-thelper branch December 11, 2024 18:06
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.

2 participants