matchers

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorIslMatcher

type ErrorIslMatcher struct {
	Expected interface{}
}

func (*ErrorIslMatcher) FailureMessage

func (matcher *ErrorIslMatcher) FailureMessage(actual interface{}) (message string)

func (*ErrorIslMatcher) Match

func (matcher *ErrorIslMatcher) Match(actual interface{}) (success bool, err error)

func (*ErrorIslMatcher) NegatedFailureMessage

func (matcher *ErrorIslMatcher) NegatedFailureMessage(actual interface{}) (message string)

type Stringer

type Stringer interface {
	String() string
}

type StringerEqualMatcher

type StringerEqualMatcher struct {
	Expected interface{}
}

func (*StringerEqualMatcher) FailureMessage

func (matcher *StringerEqualMatcher) FailureMessage(actual interface{}) (message string)

func (*StringerEqualMatcher) Match

func (matcher *StringerEqualMatcher) Match(actual interface{}) (success bool, err error)

func (*StringerEqualMatcher) NegatedFailureMessage

func (matcher *StringerEqualMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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