Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SemanticEqualityMatcher ¶
type SemanticEqualityMatcher struct {
Expected interface{}
}
func SemanticallyEqual ¶
func SemanticallyEqual(expected interface{}) *SemanticEqualityMatcher
func (*SemanticEqualityMatcher) FailureMessage ¶
func (matcher *SemanticEqualityMatcher) FailureMessage(actual interface{}) (message string)
func (*SemanticEqualityMatcher) Match ¶
func (matcher *SemanticEqualityMatcher) Match(actual interface{}) (success bool, err error)
func (*SemanticEqualityMatcher) NegatedFailureMessage ¶
func (matcher *SemanticEqualityMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.