package
0.0.0-20160317154340-2eeb3906e78f
Repository: https://github.com/getlantern/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.
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
Returns whether the assertion was successful (true) or not (false).
IsType asserts that the specified objects are of the same type.
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.
Panics asserts that the code inside the specified PanicTestFunc panics.
True asserts that the specified value is true.
WithinDuration asserts that the two times are within duration delta of each other.
# Interfaces
No description provided by the author