Commit 5573fa3b authored by Rob Pike's avatar Rob Pike

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
parent ec15046a
...@@ -565,7 +565,8 @@ directory containing the package sources, has its own flags: ...@@ -565,7 +565,8 @@ directory containing the package sources, has its own flags:
Verbose output: log all tests as they are run. Verbose output: log all tests as they are run.
-test.run pattern -test.run pattern
Run only those tests matching the regular expression. Run only those tests and examples matching the regular
expression.
-test.bench pattern -test.bench pattern
Run benchmarks matching the regular expression. Run benchmarks matching the regular expression.
......
...@@ -93,7 +93,8 @@ directory containing the package sources, has its own flags: ...@@ -93,7 +93,8 @@ directory containing the package sources, has its own flags:
Verbose output: log all tests as they are run. Verbose output: log all tests as they are run.
-test.run pattern -test.run pattern
Run only those tests matching the regular expression. Run only those tests and examples matching the regular
expression.
-test.bench pattern -test.bench pattern
Run benchmarks matching the regular expression. Run benchmarks matching the regular expression.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment