Open
Description
This only happens if msg.String()
has been called on the generated message
Using "github.com/alecthomas/assert/v2"
If proto.Resource
is a struct generated from a proto file with protoc-gen-go
This never finishes
t.Run("protoc message is not zero", func(t *testing.T) {
res := &proto.Resource{}
_ = res.String()
assert.NotZero(t, res)
})
While this works correctly
t.Run("protoc message is not zero", func(t *testing.T) {
res := &proto.Resource{}
assert.NotZero(t, res)
})
Metadata
Metadata
Assignees
Labels
No labels