package
0.0.0-20150827203832-fba96363964a
Repository: https://github.com/c2fo/testify.git
Documentation: pkg.go.dev

# Functions

Condition uses a Comparison to assert a complex condition.
Contains asserts that the specified string contains the specified substring.
Empty asserts that the specified object is empty.
Equal asserts that two objects are equal.
EqualError asserts that a function returned an error (i.e.
EqualValues asserts that two objects are equal or convertable to each other.
Error asserts that a function returned an error (i.e.
Exactly asserts that two objects are equal is value and type.
Fail reports a failure through.
False asserts that the specified value is true.
Implements asserts that an object is implemented by the specified interface.
InDelta asserts that the two numerals are within delta of each other.
InEpsilon asserts that expected and actual have a relative error less than epsilon.
IsType asserts that the specified objects are of the same type.
Len asserts that the specified object has specific length.
No description provided by the author
Nil asserts that the specified object is nil.
NoError asserts that a function returned no error (i.e.
NotContains asserts that the specified string does NOT contain the specified substring.
NotEmpty asserts that the specified object is NOT empty.
NotEqual asserts that the specified values are NOT equal.
NotNil asserts that the specified object is not nil.
NotPanics asserts that the code inside the specified PanicTestFunc does NOT panic.
NotRegexp asserts that a specified regexp does not match a string.
Panics asserts that the code inside the specified PanicTestFunc panics.
Regexp asserts that a specified regexp matches a string.
True asserts that the specified value is true.
WithinDuration asserts that the two times are within duration delta of each other.

# Structs

No description provided by the author

# Interfaces

No description provided by the author