testing: test example missing from beginning of package doc #27839
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.11
What did you do?
I went to the testing package documentation to find an example to share with another person.
What did you expect to see?
I expected to be see a simple few line example demonstrating how to write a test function and how to write an expectation.
What did you see instead?
Full examples for benchmarks, and example tests, and even an example of how to skip a test, but no examples of how to write a test with a simple expectation.
CL
I can open a small CL adding an example to the package documentation unless anyone feels like that'd be a bad idea.
The text was updated successfully, but these errors were encountered: