Documentation
¶
Overview ¶
Package gmatcher provides custom Gomega matchers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HaveZeroRef ¶
func HaveZeroRef() gomega.OmegaMatcher
HaveZeroRef returns a matcher that checks if all pools have 0 references.
Types ¶
type ZeroRefMatcher ¶
type ZeroRefMatcher struct{}
ZeroRefMatcher is a matcher that checks if all pools have 0 references.
func (*ZeroRefMatcher) FailureMessage ¶
func (p *ZeroRefMatcher) FailureMessage(actual interface{}) (message string)
FailureMessage implements types.GomegaMatcher.
func (*ZeroRefMatcher) Match ¶
func (p *ZeroRefMatcher) Match(actual interface{}) (success bool, err error)
Match implements types.GomegaMatcher.
func (*ZeroRefMatcher) NegatedFailureMessage ¶
func (p *ZeroRefMatcher) NegatedFailureMessage(actual interface{}) (message string)
NegatedFailureMessage implements types.GomegaMatcher.
Click to show internal directories.
Click to hide internal directories.