Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseMatcher ¶
type BaseMatcher struct{ MatcherIface }
func Matcher ¶
func Matcher(m MatcherIface) *BaseMatcher
func (*BaseMatcher) FailureMessage ¶
func (m *BaseMatcher) FailureMessage(actual interface{}) string
func (*BaseMatcher) Match ¶
func (m *BaseMatcher) Match(actual interface{}) (success bool, err error)
func (*BaseMatcher) NegatedFailureMessage ¶
func (m *BaseMatcher) NegatedFailureMessage(actual interface{}) string
func (*BaseMatcher) Template ¶
func (m *BaseMatcher) Template(negate bool) (s string)
type MatcherIface ¶
type MatcherIface interface { Matcher() types.GomegaMatcher Prepare(actual interface{}) interface{} Format(actual interface{}) string Message() string String() string }
Click to show internal directories.
Click to hide internal directories.