Our tests compare import graphs from go/packages to expected graphs, and one of the test cases imports math/bits. But in tip math/bits picked up a dependency on unsafe, which means the expected graph is different when run against a Go version >= go1.11. Remove that edge before comparing against the expected graph to work around the breakage. Change-Id: Ic586a75ba530741d251df9f87d0817a8e37d92ea Reviewed-on: https://go-review.googlesource.com/c/151657 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
|---|---|---|
| .. | ||
| gopackages | ||
| packagestest | ||
| testdata | ||
| doc.go | ||
| example_test.go | ||
| external.go | ||
| golist.go | ||
| golist_fallback.go | ||
| golist_fallback_testmain.go | ||
| packages.go | ||
| packages110_test.go | ||
| packages_test.go | ||
| packagescgo_test.go | ||
| stdlib_test.go | ||
| visit.go | ||