1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00

go/gcimporter: exclude failing test from gcimporter tests (fix build)

This is already tested in the std library. Ok to take the easy way
out here.

Change-Id: Ie17e16fddba827bfe279e1f790006b3874f830ad
Reviewed-on: https://go-review.googlesource.com/38455
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Robert Griesemer 2017-03-22 15:55:50 -07:00
parent 322b9d710a
commit c21bc47f89

View File

@ -249,7 +249,10 @@ var importedObjectTests = []struct {
}{
{"math.Pi", "const Pi untyped float"},
{"io.Reader", "type Reader interface{Read(p []byte) (n int, err error)}"},
{"io.ReadWriter", "type ReadWriter interface{Reader; Writer}"},
// Go 1.7 and 1.8 don't know about embedded interfaces. Leave this
// test out for now - the code is tested in the std library anyway.
// TODO(gri) enable again once we're off 1.7 and 1.8.
// {"io.ReadWriter", "type ReadWriter interface{Reader; Writer}"},
{"math.Sin", "func Sin(x float64) float64"},
// TODO(gri) add more tests
}