From: Dan Peterson Date: Mon, 17 Jun 2013 14:32:28 +0000 (-0700) Subject: testing: use -bench flag and fix flags doc link X-Git-Tag: go1.2rc2~1233 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=563d09cd14f976ff86e21e7d4cb92e5da580e125;p=gostls13.git testing: use -bench flag and fix flags doc link R=golang-dev, r, kr CC=golang-dev https://golang.org/cl/10263043 --- diff --git a/src/pkg/testing/testing.go b/src/pkg/testing/testing.go index 7f7ae20070..7ef47b6875 100644 --- a/src/pkg/testing/testing.go +++ b/src/pkg/testing/testing.go @@ -23,10 +23,10 @@ // Functions of the form // func BenchmarkXxx(*testing.B) // are considered benchmarks, and are executed by the "go test" command when -// the -test.bench flag is provided. Benchmarks are run sequentially. +// its -bench flag is provided. Benchmarks are run sequentially. // // For a description of the testing flags, see -// http://golang.org/cmd/go/#Description_of_testing_flags. +// http://golang.org/cmd/go/#hdr-Description_of_testing_flags. // // A sample benchmark function looks like this: // func BenchmarkHello(b *testing.B) {