Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OneOfMatcher ¶
type OneOfMatcher struct {
Elements []interface{}
}
func MatchOneOf ¶
func MatchOneOf(elements ...interface{}) *OneOfMatcher
func (*OneOfMatcher) FailureMessage ¶
func (m *OneOfMatcher) FailureMessage(actual interface{}) (message string)
func (*OneOfMatcher) Match ¶
func (m *OneOfMatcher) Match(actual interface{}) (success bool, err error)
func (*OneOfMatcher) NegatedFailureMessage ¶
func (m *OneOfMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.