gomega

package
v0.0.0-...-9c5cde7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchMultiProcessError

func MatchMultiProcessError(expected error) gtypes.GomegaMatcher

MatchMultiProcessError succeeds if the actual error is a MultiProcessError and errors.Is matches the expected error with any of the errors in it recursively

func MatchMultiProcessErrorType

func MatchMultiProcessErrorType(expected error) gtypes.GomegaMatcher

MatchMultiProcessError succeeds if the actual error is a MultiProcessError and errors.Is matches the expected error with any of the errors in it recursively

Types

type MultiProcessErrorMatcher

type MultiProcessErrorMatcher struct {
	Expected error
}

func (*MultiProcessErrorMatcher) FailureMessage

func (m *MultiProcessErrorMatcher) FailureMessage(actual interface{}) (message string)

func (*MultiProcessErrorMatcher) Match

func (m *MultiProcessErrorMatcher) Match(actual interface{}) (success bool, err error)

func (*MultiProcessErrorMatcher) NegatedFailureMessage

func (m *MultiProcessErrorMatcher) NegatedFailureMessage(actual interface{}) (message string)

type MultiProcessErrorTypeMatcher

type MultiProcessErrorTypeMatcher struct {
	Expected error
}

func (*MultiProcessErrorTypeMatcher) FailureMessage

func (m *MultiProcessErrorTypeMatcher) FailureMessage(actual interface{}) (message string)

func (*MultiProcessErrorTypeMatcher) Match

func (m *MultiProcessErrorTypeMatcher) Match(actual interface{}) (success bool, err error)

func (*MultiProcessErrorTypeMatcher) NegatedFailureMessage

func (m *MultiProcessErrorTypeMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL