closure variable modifications are losing in unittest #53697
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
i can't reproduce on go1.18.3
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
the
LP
func should returns a non-nil errorWhat did you see instead?
when i using
go run main.go
, theLP
func returns a non-nil error,but i get a nil error when using
go test -v -count=1 -run=TestLP
The text was updated successfully, but these errors were encountered: