Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EqualitiesDerivativeMatcher ¶
type EqualitiesDerivativeMatcher struct { Equalities semantic.Equalities Expected interface{} }
EqualitiesDerivativeMatcher is a matcher that matches the Expected value using the given Equalities and semantic.Equalities.DeepDerivative.
func (*EqualitiesDerivativeMatcher) FailureMessage ¶
func (m *EqualitiesDerivativeMatcher) FailureMessage(actual interface{}) (message string)
func (*EqualitiesDerivativeMatcher) Match ¶
func (m *EqualitiesDerivativeMatcher) Match(actual interface{}) (bool, error)
func (*EqualitiesDerivativeMatcher) NegatedFailureMessage ¶
func (m *EqualitiesDerivativeMatcher) NegatedFailureMessage(actual interface{}) (message string)
type EqualitiesEqualMatcher ¶
type EqualitiesEqualMatcher struct { Equalities semantic.Equalities Expected interface{} }
EqualitiesEqualMatcher is a matcher that matches the Expected value using the given Equalities and semantic.Equalities.DeepEqual.
func (*EqualitiesEqualMatcher) FailureMessage ¶
func (m *EqualitiesEqualMatcher) FailureMessage(actual interface{}) (message string)
func (*EqualitiesEqualMatcher) Match ¶
func (m *EqualitiesEqualMatcher) Match(actual interface{}) (bool, error)
func (*EqualitiesEqualMatcher) NegatedFailureMessage ¶
func (m *EqualitiesEqualMatcher) NegatedFailureMessage(actual interface{}) (message string)
type ErrorFuncMatcher ¶
func (*ErrorFuncMatcher) FailureMessage ¶
func (m *ErrorFuncMatcher) FailureMessage(actual interface{}) (message string)
func (*ErrorFuncMatcher) Match ¶
func (m *ErrorFuncMatcher) Match(actual interface{}) (success bool, err error)
func (*ErrorFuncMatcher) NegatedFailureMessage ¶
func (m *ErrorFuncMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.