is

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var False = CreateMatcher(equalsMatch(false), messages.ExpectedButActual(false))
View Source
var Nil = CreateMatcher(nilMatch, messages.ExpectedButActual(nil))
View Source
var NotNil = CreateNotMatcher(nilMatch, messages.ExpectedOtherThan(nil))
View Source
var True = CreateMatcher(equalsMatch(true), messages.ExpectedButActual(true))

Functions

func DeepEqualTo

func DeepEqualTo(expected interface{}) Matcher

func EqualTo

func EqualTo(expected interface{}) Matcher

func EqualToC

func EqualToC(expected interface{}, comparer equality.Comparer) Matcher

func EquivalentTo

func EquivalentTo(expected interface{}) Matcher

func EquivalentToC

func EquivalentToC(expected interface{}, comparer equality.Comparer) Matcher

func NotDeepEqualTo

func NotDeepEqualTo(expected interface{}) Matcher

func NotEqualTo

func NotEqualTo(expected interface{}) Matcher

func NotEqualToC

func NotEqualToC(expected interface{}, comparer equality.Comparer) Matcher

func NotEquivalentTo

func NotEquivalentTo(expected interface{}) Matcher

func NotEquivalentToC

func NotEquivalentToC(expected interface{}, comparer equality.Comparer) Matcher

func NotType

func NotType(expected reflect.Type) Matcher

func Type

func Type(expected reflect.Type) Matcher

Types

This section is empty.

Jump to

Keyboard shortcuts

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