cmd/go: should packages with paths that contain "/testdata/" be importable? #60296
Labels
Documentation
Issues describing a change to documentation.
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The
cmd/go
docs explicitly say:so it was very surprising to me to find that package golang.org/x/crypto/ssh has an import of package
golang.org/x/crypto/ssh/testdata
, and that this passes tests!What's going on here? Did this sneak in by mistake? If so, we're stuck with it I suppose. Should the cmd/go docs be updated? What should the official rule be?
The text was updated successfully, but these errors were encountered: