]> Cypherpunks repositories - gostls13.git/commitdiff
gotest: show the test file pattern in "no test files" error
authorRuss Cox <rsc@golang.org>
Sun, 15 Nov 2009 20:56:39 +0000 (12:56 -0800)
committerRuss Cox <rsc@golang.org>
Sun, 15 Nov 2009 20:56:39 +0000 (12:56 -0800)
Fixes #190.

R=r
https://golang.org/cl/154142

src/cmd/gotest/gotest

index 87bb7fafb0246dd76a879c317c7b7d627cc54053..584578e91f65bbb7f8d2a5e64c7285a452af1aa7 100755 (executable)
@@ -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