Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualAsJSON ¶
func EqualDuration ¶ added in v0.0.451
EqualDuration fails if expected and actual are more distant than precision Note: The previous implementation incorrectly passed on durations bigger than time.maxDuration (i.e. with zero-time involved) and incorrectly failed on zero durations.
func EqualTime ¶ added in v0.0.451
EqualTime fails if expected and actual are more distant than precision Deprecated: use require.WithinDuration instead Note: The previous implementation incorrectly passed on durations bigger than time.maxDuration (i.e. with zero-time involved) and incorrectly failed on zero durations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.