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
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
testing: Docs unclear what Cleanup does when called in a subtest. #37333
What version of Go are you using (
I'm a fan of telling the reader the truth, though the current testing doc doesn't mention anywhere that a subtest is a test in itself, or explicitly say that it's T is a different instance of T. Maybe keeping it short is better, I only went down this line of though because of the line: "called when the test and all its subtests complete".
Likewise for B.Cleanup.