fakematcher

package
Version: v0.0.0-...-7a25e7c Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 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

Source Files

Jump to

Keyboard shortcuts

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