From: Rob Pike Date: Mon, 27 Feb 2012 21:55:25 +0000 (+1100) Subject: cmd/go: mention examples in docs for -test.run X-Git-Tag: weekly.2012-03-04~126 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5573fa3bc57754847e3b9a5c9493cdbf29af32b9;p=gostls13.git cmd/go: mention examples in docs for -test.run Missed in my last round. These things sure appear in a lot of places. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5699096 --- diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index e2df7beb1c..2df7a0498d 100644 --- a/src/cmd/go/doc.go +++ b/src/cmd/go/doc.go @@ -565,7 +565,8 @@ directory containing the package sources, has its own flags: Verbose output: log all tests as they are run. -test.run pattern - Run only those tests matching the regular expression. + Run only those tests and examples matching the regular + expression. -test.bench pattern Run benchmarks matching the regular expression. diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index 1b040e89a0..3b33c4fe22 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -93,7 +93,8 @@ directory containing the package sources, has its own flags: Verbose output: log all tests as they are run. -test.run pattern - Run only those tests matching the regular expression. + Run only those tests and examples matching the regular + expression. -test.bench pattern Run benchmarks matching the regular expression.