Documentation ¶
Index ¶
- Variables
- func DeepEqualTo(expected interface{}) Matcher
- func EqualTo(expected interface{}) Matcher
- func EqualToC(expected interface{}, comparer equality.Comparer) Matcher
- func EquivalentTo(expected interface{}) Matcher
- func EquivalentToC(expected interface{}, comparer equality.Comparer) Matcher
- func NotDeepEqualTo(expected interface{}) Matcher
- func NotEqualTo(expected interface{}) Matcher
- func NotEqualToC(expected interface{}, comparer equality.Comparer) Matcher
- func NotEquivalentTo(expected interface{}) Matcher
- func NotEquivalentToC(expected interface{}, comparer equality.Comparer) Matcher
- func NotType(expected reflect.Type) Matcher
- func Type(expected reflect.Type) Matcher
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 EquivalentTo ¶
func EquivalentTo(expected interface{}) Matcher
func EquivalentToC ¶
func NotDeepEqualTo ¶
func NotDeepEqualTo(expected interface{}) Matcher
func NotEqualTo ¶
func NotEqualTo(expected interface{}) Matcher
func NotEqualToC ¶
func NotEquivalentTo ¶
func NotEquivalentTo(expected interface{}) Matcher
func NotEquivalentToC ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.