Documentation
¶
Index ¶
- type AssertFuncdeprecated
- type Configdeprecated
- type Matcherdeprecated
- func (m *Matcher) Matches(actual any) booldeprecated
- func (m *Matcher) String() stringdeprecated
- type Optiondeprecated
- func ExportedValues() Optiondeprecated
- func Values() Optiondeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config
deprecated
added in
v0.0.1
type Config struct {
// AssertFunc can swap assert.Equal with other similar assertions
AssertFunc AssertFunc
}
Config allows customisation for the behaviour of Matcher
Deprecated: This library was moved to github.com/survivorbat/go-teq, please consider changing your imports
type Matcher
deprecated
type Matcher struct {
T *testing.T
AssertFunc AssertFunc
Expected any
}
Matcher implements gomock.Matcher and uses Expected to assert with actual.
Deprecated: This library was moved to github.com/survivorbat/go-teq, please consider changing your imports
type Option
deprecated
added in
v0.0.1
type Option func(*Config)
Option are used as input to the New method to customise behaviour
Deprecated: This library was moved to github.com/survivorbat/go-teq, please consider changing your imports
func ExportedValues
deprecated
added in
v0.0.1
func ExportedValues() Option
ExportedValues sets the assertion function as assert.EqualExportedValues
Deprecated: This library was moved to github.com/survivorbat/go-teq, please consider changing your imports