matchers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDyffMatcher added in v0.3.0

func NewDyffMatcher(expected interface{}, matcher types.GomegaMatcher) types.GomegaMatcher

Types

type DyffMatcher added in v0.3.0

type DyffMatcher struct {
	Expected interface{}
	Matcher  types.GomegaMatcher
}

func (DyffMatcher) FailureMessage added in v0.3.0

func (m DyffMatcher) FailureMessage(actual interface{}) (message string)

func (DyffMatcher) Match added in v0.3.0

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

func (DyffMatcher) NegatedFailureMessage added in v0.3.0

func (m DyffMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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