]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: clarify test filenames in help messages
authorShenghou Ma <minux.ma@gmail.com>
Wed, 12 Jun 2013 11:40:58 +0000 (19:40 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 12 Jun 2013 11:40:58 +0000 (19:40 +0800)
Fixes #5655.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9944044

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

index eb22fe583d3f10afc78c42252613f7971ca0766b..9a83a2026d7fb7ba0eb8cca4739cba0280f1243f 100644 (file)
@@ -396,8 +396,8 @@ It prints a summary of the test results in the format:
 
 followed by detailed output for each failed package.
 
-'Go test' recompiles each package along with any files with names matching
-the file pattern "*_test.go".  These additional files can contain test functions,
+'Go test' recompiles each package along with any files with names ending in
+"_test.go".  These additional files can contain test functions,
 benchmark functions, and example functions.  See 'go help testfunc' for more.
 Each listed package causes the execution of a separate test binary.
 
index 6e77f190a68af32da095760607f4df3e8f5e89a2..8a115f3153c1a2d086405cd26877341bac7565bb 100644 (file)
@@ -45,8 +45,8 @@ It prints a summary of the test results in the format:
 
 followed by detailed output for each failed package.
 
-'Go test' recompiles each package along with any files with names matching
-the file pattern "*_test.go".  These additional files can contain test functions,
+'Go test' recompiles each package along with any files with names ending in
+"_test.go".  These additional files can contain test functions,
 benchmark functions, and example functions.  See 'go help testfunc' for more.
 Each listed package causes the execution of a separate test binary.