Documentation ¶
Overview ¶
Package test contains helper functions for unit testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualProto ¶
func EqualProto(expected protoreflect.ProtoMessage) types.GomegaMatcher
EqualProto uses proto.Equal to compare actual with expected. Equal is strict about types when performing comparisons. It is an error for both actual and expected to be nil. Use BeNil() instead.
func WrapMatcher ¶
func WrapMatcher(matcher types.GomegaMatcher) gomock.Matcher
WrapMatcher wraps Omega matcher into Gomock Matcher.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.