From: Russ Cox Date: Sun, 15 Nov 2009 20:56:39 +0000 (-0800) Subject: gotest: show the test file pattern in "no test files" error X-Git-Tag: weekly.2009-11-17~52 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2a6bb2c63e5256d50da8b75c17b6bb311fb84300;p=gostls13.git gotest: show the test file pattern in "no test files" error Fixes #190. R=r https://golang.org/cl/154142 --- diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index 87bb7fafb0..584578e91f 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -70,7 +70,7 @@ esac case "x$gofiles" in x) - echo 'no test files found' 1>&2 + echo 'no test files found (*_test.go)' 1>&2 exit 2 esac