-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add test case for JSON resource marshaling #2543
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
Conversation
…to search_test_CommitResult
…rmore/go-github into search_test_CommitResult
Codecov Report
@@ Coverage Diff @@
## master #2543 +/- ##
=======================================
Coverage 97.97% 97.97%
=======================================
Files 123 123
Lines 10813 10813
=======================================
Hits 10594 10594
Misses 150 150
Partials 69 69 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Commit: &Commit{SHA: String("test")}, | ||
Author: &User{ID: Int64(1)}, | ||
Committer: &User{ID: Int64(1)}, | ||
Parents: []*Commit{}, |
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.
Any reason for not supplying a single parent?
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.
Never mind, let's get this in before I go OOO.
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.
it's just an omitempty so I want to try to ignore this. But Thanks @gmlewis for approving :)
Hi creator,
Added test cases for JSON Resources :
CommitResult
Helps: #55
I have followed all the guidelines to contribute to this repository.
Please revert in case of any changes are needed.
I am a first-time contributor to Hackoctober, It will be a great help if u can encourage me & accept my contribution.