Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsGrpcError ¶
ContainsGrpcError checks that an equal gRPC error is present in the slice of errors.
func GrpcEqualErr ¶
GrpcEqualErr asserts that expected and actual gRPC errors are equal. This is required as comparing messages directly with `require.Equal` doesn't work.
func ProtoEqual ¶
ProtoEqual asserts that expected and actual protobuf messages are equal. It can accept not only proto.Message, but slices, maps, and structs too. This is required as comparing messages directly with `require.Equal` doesn't work.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.