]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: mention examples in docs for -test.run
authorRob Pike <r@golang.org>
Mon, 27 Feb 2012 21:55:25 +0000 (08:55 +1100)
committerRob Pike <r@golang.org>
Mon, 27 Feb 2012 21:55:25 +0000 (08:55 +1100)
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

src/cmd/go/doc.go
src/cmd/go/test.go

index e2df7beb1c0a2c4351895579d519acec9681e068..2df7a0498dae088d5b5dbc380bd5641643edf80c 100644 (file)
@@ -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.
index 1b040e89a0e23dfd6a7c1ba00ead4c71b23fe981..3b33c4fe22f1f373845779f8f20bf2d452036ad6 100644 (file)
@@ -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.