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.
What version of Go are you using (
go version)?go version go1.11What 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.