Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/pkgsite: Examples render teardown code #40517
What is the URL of the page with the issue?
What is your user agent?
What did you do?
Add teardown code to an example after the
What did you expect to see?
No teardown code (i.e. godoc.org behaviour).
What did you see instead?
Teardown code. As it's presented as part of the example body, and not after the test output as it actually appears in the source code, I believe it may confuse readers.