Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
Equal makes x deep equality comparison of given entities with x special care of types generated by protoc-gen-go. This is not a drop-in replacement for reflect.DeepEqual as some functionality is missing. Should be enough in most cases though.
func SideBySide ¶ added in v0.5.0
func SideBySide[T any](p TestPrinter, what string, want, got T)
SideBySide outputs a and b side by side with a difference highlight.
Types ¶
type EqMatcher ¶
type EqMatcher struct {
// contains filtered or unexported fields
}
EqMatcher equality matcher for gomock. Implements gomock.Matcher.
type TestPrinter ¶ added in v0.5.0
TestPrinter basically a masque for testing.XXX.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.