diff options
author | Russ Cox <rsc@golang.org> | 2008-11-25 12:49:17 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2008-11-25 12:49:17 -0800 |
commit | a90c7afa430ab2e9164ba03fa2f75403fe2218a1 (patch) | |
tree | ce551e6c8d3b441074c6f1453ca1491970bdbb0b /src/lib/testing.go | |
parent | fcb77c69ef76c8b95151abebf279d63147395355 (diff) | |
download | golang-a90c7afa430ab2e9164ba03fa2f75403fe2218a1.tar.gz |
gotest: change pattern to Test([^a-z].*)?
warn about files with no tests
be clear about where testing warnings come from
R=r
DELTA=18 (12 added, 3 deleted, 3 changed)
OCL=19988
CL=19993
Diffstat (limited to 'src/lib/testing.go')
-rw-r--r-- | src/lib/testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/testing.go b/src/lib/testing.go index 37dcc3941..afb24855b 100644 --- a/src/lib/testing.go +++ b/src/lib/testing.go @@ -86,7 +86,7 @@ export func Main(tests *[]Test) { flag.Parse(); ok := true; if len(tests) == 0 { - println("gotest: warning: no tests to run"); + println("testing: warning: no tests to run"); } for i := 0; i < len(tests); i++ { if chatty { |