Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchMultiProcessError ¶
func MatchMultiProcessError(expected error) gtypes.GomegaMatcher
MatchMultiProcessError succeeds if the actual error is a MultiProcessError and errors.Is matches the expected error with any of the errors in it recursively
func MatchMultiProcessErrorType ¶
func MatchMultiProcessErrorType(expected error) gtypes.GomegaMatcher
MatchMultiProcessError succeeds if the actual error is a MultiProcessError and errors.Is matches the expected error with any of the errors in it recursively
Types ¶
type MultiProcessErrorMatcher ¶
type MultiProcessErrorMatcher struct {
Expected error
}
func (*MultiProcessErrorMatcher) FailureMessage ¶
func (m *MultiProcessErrorMatcher) FailureMessage(actual interface{}) (message string)
func (*MultiProcessErrorMatcher) Match ¶
func (m *MultiProcessErrorMatcher) Match(actual interface{}) (success bool, err error)
func (*MultiProcessErrorMatcher) NegatedFailureMessage ¶
func (m *MultiProcessErrorMatcher) NegatedFailureMessage(actual interface{}) (message string)
type MultiProcessErrorTypeMatcher ¶
type MultiProcessErrorTypeMatcher struct {
Expected error
}
func (*MultiProcessErrorTypeMatcher) FailureMessage ¶
func (m *MultiProcessErrorTypeMatcher) FailureMessage(actual interface{}) (message string)
func (*MultiProcessErrorTypeMatcher) Match ¶
func (m *MultiProcessErrorTypeMatcher) Match(actual interface{}) (success bool, err error)
func (*MultiProcessErrorTypeMatcher) NegatedFailureMessage ¶
func (m *MultiProcessErrorTypeMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.