fakematcher

package
v6.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2015 License: MIT, Apache-2.0 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