//Ignore ignores the actual value and always succeeds. // Expect(nil).To(Ignore()) // Expect(true).To(Ignore()) func Ignore() types.GomegaMatcher { … } //Reject ignores the actual value and always fails. It can be used in conjunction with IgnoreMissing //to catch problematic elements, or to verify tests are running. // Expect(nil).NotTo(Reject()) // Expect(true).NotTo(Reject()) func Reject() types.GomegaMatcher { … } type IgnoreMatcher … func (m *IgnoreMatcher) Match(actual interface{ … } func (m *IgnoreMatcher) FailureMessage(_ interface{ … } func (m *IgnoreMatcher) NegatedFailureMessage(_ interface{ … }