go/build: inconsistency on whether NoGoError includes test files #31921
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The code & documentation disagree about whether
go/build.NoGoError
includes tests.Code says:
But docs say:
(Notably, the "it may still contain test files" part, implying that a directory with only
foo_test.go
should be NoGoError)./cc @bcmills @jayconrod @rsc @ianlancetaylor
The text was updated successfully, but these errors were encountered: