fakematcher

package
v0.0.0-...-1308c38 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2016 License: Apache-2.0, 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