]> Cypherpunks repositories - gostls13.git/commit
go test: don't try to print package with error message.
authorRoger Peppe <rogpeppe@gmail.com>
Thu, 5 Jan 2012 21:19:25 +0000 (13:19 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 5 Jan 2012 21:19:25 +0000 (13:19 -0800)
commit5f5a7eb4bc6160a99ec3656ab87351aa1299341c
tree9877fa84b429660d5b49354f9e62a99614227490
parent149d3f06d8e4b38c7195a2e27f3479309c71bcb9
go test: don't try to print package with error message.
If there's a error compiling a _test.go file, the error
message tries to print a *Package with %s. There's no String
method on *Package, so the error message looks bad.
Since the error messages identify the file in question
anyway, this CL removes the package from the error message.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/5520045
src/cmd/go/test.go