cmd/go: test with -overlay
failed with a go-vet error
#50044
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Prepare these files:
go.mod
foo.go
foo_test.go
export_test.go
replace.json
overlay/foo.go
overlay/foo_test.go
overlay/export_test.go
And run:
go test -overlay=replace.json
What did you expect to see?
The compile and test succeed.
What did you see instead?
go-vet failed with an odd reason
The text was updated successfully, but these errors were encountered: