testing: update documentation to match current coding style

R=rsc, r
CC=golang-dev
https://golang.org/cl/823045
This commit is contained in:
Christopher Wedgwood 2010-04-11 10:18:49 -07:00 committed by Rob Pike
parent 094732f7eb
commit 3fbe7f4f41
3 changed files with 10 additions and 10 deletions

View file

@ -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