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

assert: document that filename and line number are included #233

Merged
merged 1 commit into from Apr 16, 2022

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Apr 16, 2022

Another small improvement that I missed in #229

Anyone not familiar with the stdlib testing package may not know how the filename and line number work. This PR adds some detail to the package godoc for the assert package to explain how it works, and give some guidance for how to keep it working when assertions are called from helper functions.

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.

None yet

1 participant