matchers

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeEquivalentToMatcher

type BeEquivalentToMatcher struct {
	Expected interface{}
}

func (*BeEquivalentToMatcher) FailureMessage

func (matcher *BeEquivalentToMatcher) FailureMessage(actual interface{}) string

func (*BeEquivalentToMatcher) Match

func (matcher *BeEquivalentToMatcher) Match(actual interface{}) (bool, error)

func (*BeEquivalentToMatcher) NegatedFailureMessage

func (matcher *BeEquivalentToMatcher) NegatedFailureMessage(actual interface{}) string

type BeGreaterThanMatcher added in v1.0.0

type BeGreaterThanMatcher struct {
	Expected interface{}
}

func (*BeGreaterThanMatcher) FailureMessage added in v1.0.0

func (matcher *BeGreaterThanMatcher) FailureMessage(actual interface{}) string

func (*BeGreaterThanMatcher) Match added in v1.0.0

func (matcher *BeGreaterThanMatcher) Match(actual interface{}) (bool, error)

func (*BeGreaterThanMatcher) NegatedFailureMessage added in v1.0.0

func (matcher *BeGreaterThanMatcher) NegatedFailureMessage(actual interface{}) string

type BeGreaterThanOrEqualMatcher added in v1.0.0

type BeGreaterThanOrEqualMatcher struct {
	Expected interface{}
}

func (*BeGreaterThanOrEqualMatcher) FailureMessage added in v1.0.0

func (matcher *BeGreaterThanOrEqualMatcher) FailureMessage(actual interface{}) string

func (*BeGreaterThanOrEqualMatcher) Match added in v1.0.0

func (matcher *BeGreaterThanOrEqualMatcher) Match(actual interface{}) (bool, error)

func (*BeGreaterThanOrEqualMatcher) NegatedFailureMessage added in v1.0.0

func (matcher *BeGreaterThanOrEqualMatcher) NegatedFailureMessage(actual interface{}) string

type BeLessThanMatcher added in v1.0.0

type BeLessThanMatcher struct {
	Expected interface{}
}

func (*BeLessThanMatcher) FailureMessage added in v1.0.0

func (matcher *BeLessThanMatcher) FailureMessage(actual interface{}) string

func (*BeLessThanMatcher) Match added in v1.0.0

func (matcher *BeLessThanMatcher) Match(actual interface{}) (bool, error)

func (*BeLessThanMatcher) NegatedFailureMessage added in v1.0.0

func (matcher *BeLessThanMatcher) NegatedFailureMessage(actual interface{}) string

type BeLessThanOrEqualMatcher added in v1.0.0

type BeLessThanOrEqualMatcher struct {
	Expected interface{}
}

func (*BeLessThanOrEqualMatcher) FailureMessage added in v1.0.0

func (matcher *BeLessThanOrEqualMatcher) FailureMessage(actual interface{}) string

func (*BeLessThanOrEqualMatcher) Match added in v1.0.0

func (matcher *BeLessThanOrEqualMatcher) Match(actual interface{}) (bool, error)

func (*BeLessThanOrEqualMatcher) NegatedFailureMessage added in v1.0.0

func (matcher *BeLessThanOrEqualMatcher) NegatedFailureMessage(actual interface{}) string

Jump to

Keyboard shortcuts

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