Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchError ¶
func MatchError(expected *goext.Error) types.GomegaMatcher
Types ¶
type MatchErrorMatcher ¶
MatchErrorMatcher matches goext.Error
example: Expect(myFunction(myParams)).To(goext.MatchError(goext.NewErrorInternalServerError(myModule.ErrMyError)))
func (*MatchErrorMatcher) FailureMessage ¶
func (matcher *MatchErrorMatcher) FailureMessage(actual interface{}) (message string)
func (*MatchErrorMatcher) Match ¶
func (matcher *MatchErrorMatcher) Match(actual interface{}) (bool, error)
func (*MatchErrorMatcher) NegatedFailureMessage ¶
func (matcher *MatchErrorMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.