Skip to content
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

Writer EndObject missing-value fix #869

Merged
merged 4 commits into from Feb 28, 2017

Conversation

StilesCrisis
Copy link
Contributor

Added new assertion in EndObject to catch error condition where objects
are ended with a key but no matching value.
Added unit tests to verify assertion occurs.

StilesCrisis added 4 commits February 27, 2017 21:37
Add unit tests expecting an assertion when writing an object with a key
but no value.
Documented existing assertions in EndObject
Added new assertion in EndObject to catch error condition where objects
are ended with a key but no matching value.
PrettyWriter EndObject will now also assert if called when a key is
missing its matching value.
@coveralls
Copy link

Coverage Status

Coverage increased (+3.0e-05%) to 99.938% when pulling fa84cd1 on StilesCrisis:writer-key-fix into 97e2f7f on miloyip:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+3.0e-05%) to 99.938% when pulling fa84cd1 on StilesCrisis:writer-key-fix into 97e2f7f on miloyip:master.

@coveralls
Copy link

coveralls commented Feb 28, 2017

Coverage Status

Coverage increased (+3.0e-05%) to 99.938% when pulling fa84cd1 on StilesCrisis:writer-key-fix into 97e2f7f on miloyip:master.

@miloyip miloyip merged commit e6b192a into Tencent:master Feb 28, 2017
@StilesCrisis StilesCrisis deleted the writer-key-fix branch February 28, 2017 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants