1
0
mirror of https://github.com/golang/go synced 2024-11-23 16:30:06 -07:00

testing: fix typo

Fixes #10794.

Change-Id: Id91485394ddbadc28c800e1d0c3ec281ba6cd098
Reviewed-on: https://go-review.googlesource.com/9990
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Shenghou Ma 2015-05-12 19:19:29 -04:00 committed by Minux Ma
parent 1828d03ad5
commit c06b856555

View File

@ -44,7 +44,7 @@
// } // }
// //
// The benchmark function must run the target code b.N times. // The benchmark function must run the target code b.N times.
// During benchark execution, b.N is adjusted until the benchmark function lasts // During benchmark execution, b.N is adjusted until the benchmark function lasts
// long enough to be timed reliably. The output // long enough to be timed reliably. The output
// BenchmarkHello 10000000 282 ns/op // BenchmarkHello 10000000 282 ns/op
// means that the loop ran 10000000 times at a speed of 282 ns per loop. // means that the loop ran 10000000 times at a speed of 282 ns per loop.