Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertFunc ¶
AssertFunc matches the signature of assert.equal and similar functions
type Config ¶
type Config struct {
// AssertFunc can swap assert.Equal with other similar assertions
AssertFunc AssertFunc
}
Config allows customisation for the behaviour of Matcher
type Matcher ¶
type Matcher struct {
T *testing.T
AssertFunc AssertFunc
Expected any
}
Matcher implements gomock.Matcher and uses Expected to assert with actual.
func Eq ¶
Eq ensures gomock will use testify to verify equality of the actual and the expected call.
Click to show internal directories.
Click to hide internal directories.