Skip to content

[TestJSONEncoder] - testEncodingDate still has an unhandled edge case #23894

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

Merged

Conversation

bendjones
Copy link
Contributor

Originally we thought the level of precision requested internally by JSONSerialization (via snprintf) could always be two or more digits larger. Turns out it can be any level of precision larger than requested.

This addresses those edge cases and expands the known cases to cover one discovered last night.

…ested internally by JSONSerialization (via snprintf) could always be two or more digits larger. Turns out it can be any level of precision larger than requested.
@bendjones bendjones requested review from itaiferber and parkera April 9, 2019 18:02
@bendjones
Copy link
Contributor Author

@swift-ci smoke test

@bendjones
Copy link
Contributor Author

@itaiferber I'm going to merge this unless there's an objection...

@bendjones bendjones requested a review from millenomi April 9, 2019 23:19
@itaiferber itaiferber merged commit 5577ec9 into swiftlang:master Apr 9, 2019
@itaiferber
Copy link
Contributor

@bendjones LGTM so I went ahead and merged — sorry for the delay

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.

2 participants