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

Add tests covering canonicalization of insignificant decimal digits #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

apasel422
Copy link
Contributor

Per Step 9 of https://httpwg.org/specs/rfc9651.html#ser-decimal only the significant digits of the decimal's fractional component should be included in the serialized form.

From what I can tell, there is no coverage of this today.

Fixes #99.

Per Step 9 of https://httpwg.org/specs/rfc9651.html#ser-decimal only the
significant digits of the decimal's fractional component should be
included in the serialized form.
@apasel422 apasel422 marked this pull request as ready for review February 4, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Determine whether serialization-only tests can cover behavior of significant fractional digits
1 participant