Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProtoSliceEqual ¶
ProtoSliceEqual compares elements in a slice of proto.Message. This is not a method on the suite type because methods cannot have generic parameters and slice casting (say from []historyEvent) to []proto.Message is impossible
Types ¶
type ProtoAssertions ¶
type ProtoAssertions struct {
// contains filtered or unexported fields
}
func New ¶
func New(t require.TestingT) ProtoAssertions
func (ProtoAssertions) DeepEqual ¶
func (x ProtoAssertions) DeepEqual(a any, b any)
func (ProtoAssertions) NotProtoEqual ¶
func (x ProtoAssertions) NotProtoEqual(a proto.Message, b proto.Message)
func (ProtoAssertions) ProtoElementsMatch ¶
func (x ProtoAssertions) ProtoElementsMatch(a any, b any) bool
func (ProtoAssertions) ProtoEqual ¶
func (x ProtoAssertions) ProtoEqual(a proto.Message, b proto.Message)
Click to show internal directories.
Click to hide internal directories.