Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BetweenTimes ¶
func BetweenTimes(t *testing.T, actual, startTime, endTime time.Time, msgAndArgs ...interface{}) bool
BetweenTimes asserts that the time is within the time window, inclusive of the start and end times.
assert.BetweenTimes(t, time.Now(), time.Now().Add(-10*time.Second), time.Now().Add(10*time.Second))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.