We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assert.NotZero
This only happens if msg.String() has been called on the generated message
msg.String()
Using "github.com/alecthomas/assert/v2"
"github.com/alecthomas/assert/v2"
If proto.Resource is a struct generated from a proto file with protoc-gen-go
proto.Resource
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) })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This only happens if
msg.String()
has been called on the generated messageUsing
"github.com/alecthomas/assert/v2"
If
proto.Resource
is a struct generated from a proto file withprotoc-gen-go
This never finishes
While this works correctly
The text was updated successfully, but these errors were encountered: