-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix Code.UnmarshalJSON
to work with valid json only
#1276
Fix Code.UnmarshalJSON
to work with valid json only
#1276
Conversation
|
Codecov Report
@@ Coverage Diff @@
## master #1276 +/- ##
========================================
- Coverage 76.8% 76.8% -0.1%
========================================
Files 122 122
Lines 5944 5953 +9
========================================
+ Hits 4568 4574 +6
- Misses 1129 1131 +2
- Partials 247 248 +1
|
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.
LGTM. Thanks for your contribution!
Signed-off-by: Daniil Rutskiy <[email protected]>
Signed-off-by: Daniil Rutskiy <[email protected]>
6e5c86f
to
bc761ab
Compare
Signed-off-by: Daniil Rutskiy <[email protected]>
Code.UnmarshalJSON
to work with valid json only
Signed-off-by: Daniil Rutskiy <[email protected]>
Signed-off-by: Daniil Rutskiy <[email protected]>
c4109e1
to
bca44b6
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.
Thanks for cleaning this up. Sorry about the mess I left. 😞
…#1276) * Remove quotes from UnmarshalJSON Signed-off-by: Daniil Rutskiy <[email protected]> * Update CHANGELOG.md Signed-off-by: Daniil Rutskiy <[email protected]> * Fix issue number in CHANGELOG.md * Fix 'Code.UnmarshalJSON' to work with valid json only Signed-off-by: Daniil Rutskiy <[email protected]> * Extend test data for TestCodeUnmarshalJSONErrorInvalidData Signed-off-by: Daniil Rutskiy <[email protected]> * Delete useless cond, extend test data Signed-off-by: Daniil Rutskiy <[email protected]>
Fixes #1273