fakematcher

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2015 License: MIT, 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