mirror of https://github.com/grpc/grpc-go.git
Generated protobuf messages contain internal data structures that general purpose comparison functions (e.g., reflect.DeepEqual, pretty.Compare, etc) do not properly compare. It is already the case today that these functions may report a difference when two messages are actually semantically equivalent. Fix all usages by either calling proto.Equal directly if the top-level types are themselves proto.Message, or by calling cmp.Equal with the cmp.Comparer(proto.Equal) option specified. This option teaches cmp to use proto.Equal anytime it encounters proto.Message types. |
||
---|---|---|
.. | ||
bufconn | ||
codec_perf | ||
go_vet | ||
grpc_testing | ||
tools | ||
balancer_test.go | ||
channelz_linux_go110_test.go | ||
channelz_test.go | ||
context_canceled_test.go | ||
creds_test.go | ||
end2end_test.go | ||
goaway_test.go | ||
gracefulstop_test.go | ||
healthcheck_test.go | ||
race.go | ||
rawConnWrapper.go | ||
retry_test.go | ||
servertester.go | ||
stream_cleanup_test.go |