Documentation ¶
Index ¶
- func PanicCatcher(action func()) (thePanic interface{})
- type Matcher
- type MatcherImplementation
- type MessageProvider
- type Wrapper
- func (a Wrapper) Fail(format string, args ...interface{})
- func (a Wrapper) Logf(format string, args ...interface{})
- func (a Wrapper) That(actual interface{}, matcher Matcher, reasonFormat string, ...)
- func (a Wrapper) ThatEventually(ctx context.Context, actual func() interface{}, matcher Matcher, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicCatcher ¶
func PanicCatcher(action func()) (thePanic interface{})
Types ¶
type Matcher ¶
func CreateMatcher ¶
func CreateMatcher(match MatcherImplementation, message MessageProvider) Matcher
Helper functions
func CreateNotMatcher ¶
func CreateNotMatcher(match MatcherImplementation, message MessageProvider) Matcher
type MatcherImplementation ¶
type MessageProvider ¶
Click to show internal directories.
Click to hide internal directories.