mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
testing: update documentation to match current coding style
R=rsc, r CC=golang-dev https://golang.org/cl/823045
This commit is contained in:
parent
094732f7eb
commit
3fbe7f4f41
3 changed files with 10 additions and 10 deletions
|
|
@ -29,11 +29,11 @@
|
|||
// If a benchmark needs some expensive setup before running, the timer
|
||||
// may be stopped:
|
||||
// func BenchmarkBigLen(b *testing.B) {
|
||||
// b.StopTimer();
|
||||
// big := NewBig();
|
||||
// b.StartTimer();
|
||||
// b.StopTimer()
|
||||
// big := NewBig()
|
||||
// b.StartTimer()
|
||||
// for i := 0; i < b.N; i++ {
|
||||
// big.Len();
|
||||
// big.Len()
|
||||
// }
|
||||
// }
|
||||
package testing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue