Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 16
fail to equal time.Time #9
Copy link
Copy link
Open
Description
Metadata
Metadata
Assignees
Labels
No labels
Given two times that are equal using their
.Equal()method, they fail usingassert.Equal().Proposed solution
Instead of using
reflect.DeepEqual(), first check if we are asserting times, and then use their.Equal()method.