cmd/go: Tests failing when init accesses a byte slice larger than 65536 with go test -cover #73495
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.24.2 windows/amd64
Output of
go env
in your module/workspace:What did you do?
Write a file with a global byte slice larger than 1<16. Access it in the init() func. Also add a test file (can be empty). call 'go test -cover'
What did you see happen?
What did you expect to see?
Pass with a coverage percent
The text was updated successfully, but these errors were encountered: