Compare time.Time objects for equality correctly#979
Merged
boyan-soubachov merged 3 commits intostretchr:masterfrom Jul 27, 2020
Merged
Compare time.Time objects for equality correctly#979boyan-soubachov merged 3 commits intostretchr:masterfrom
boyan-soubachov merged 3 commits intostretchr:masterfrom
Conversation
Contributor
Author
|
@leoleoasd , did you talk about it? |
9a4e54b to
0433460
Compare
Contributor
Author
|
@leoleoasd check please last update |
|
LGTM, but I don't have write access to this repo, we need to wait for a reviewer with write access 😂 |
leoleoasd
approved these changes
Jul 20, 2020
This was referenced Jul 20, 2020
Contributor
Author
|
I know) |
|
@boyan-soubachov could you please review this? |
boyan-soubachov
approved these changes
Jul 27, 2020
Collaborator
boyan-soubachov
left a comment
There was a problem hiding this comment.
LGTM, thank you :)
Contributor
Author
|
@leoleoasd merged)) Thank you |
leoleoasd
added a commit
to leoleoasd/testify
that referenced
this pull request
Jul 27, 2020
leoleoasd
added a commit
to leoleoasd/testify
that referenced
this pull request
Jul 27, 2020
|
It looks like this was reverted in ed4976c? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adding test
Summary
Fix assert.ObjectsAreEqual bug with not equals time.Time before and after serializing\deserializing
Changes
Added a check in ObectsAreEqual in case the arguments are a time object
Motivation
Fix bug to use test in docker
Related issues
Closes #950
Fix #951