-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace reflect.DeepEqual with gocmp.Equal #340
Conversation
b0e78fd
to
c4d1d44
Compare
29e4bcc
to
4482e87
Compare
- go-cmp has a more robust library for compares as it allows ignoring unexported fields.
648f34a
to
5cd828c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 after rebase
- This ensures we dont have to necessarily write failing tests every time we add a field
5cd828c
to
63b035c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I left one question, but otherwise, this looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
unexported fields.
How I've tested this PR:
How I expect reviewers to test this PR: