summaryrefslogtreecommitdiff
path: root/src/cmd/gotest
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-15 12:56:39 -0800
committerRuss Cox <rsc@golang.org>2009-11-15 12:56:39 -0800
commitc9beeec446cc738616b4e954ba92a78cf998a47d (patch)
tree2a2d21e742aa8b5cb76a422e57e7d8b74b0cdaa4 /src/cmd/gotest
parent39dcfb16bd1970a24b461b2cc489f0ba962ac6d0 (diff)
downloadgolang-c9beeec446cc738616b4e954ba92a78cf998a47d.tar.gz
gotest: show the test file pattern in "no test files" error
Fixes issue 190. R=r http://codereview.appspot.com/154142
Diffstat (limited to 'src/cmd/gotest')
-rwxr-xr-xsrc/cmd/gotest/gotest2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest
index 87bb7fafb..584578e91 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