fakematcher

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeMatcher

type FakeMatcher struct {
	ReceivedActual  interface{}
	MatchesToReturn bool
	ErrToReturn     error
}

func (*FakeMatcher) FailureMessage

func (matcher *FakeMatcher) FailureMessage(actual interface{}) string

func (*FakeMatcher) Match

func (matcher *FakeMatcher) Match(actual interface{}) (bool, error)

func (*FakeMatcher) NegatedFailureMessage

func (matcher *FakeMatcher) NegatedFailureMessage(actual interface{}) string

Jump to

Keyboard shortcuts

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