Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: list reports bad test edges #26354
go list reports that the regular testutil package imports "lib [lib.test]", which is surprising: "lib [lib.test]" is a necessary package in this -test query result because lib was a goal, but the regular testutil should depend on the regular lib package.
Also observe that the Deps of testutil includes the regular lib and not "lib [lib.test]", which contradicts its Imports section. Perhaps the Deps are expressed as keys in the ImportMap, or perhaps Deps is just wrong. Either way, confusing.