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 passing test to close #3277 #4259

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

JooHyukKim
Copy link
Member

closes #3277

Holder holder = MAPPER.readValue("{\"value1\": -60.0, \"value2\": -60.0}", Holder.class);

assertEquals(Double.class, holder.value1.getClass());
assertEquals(Double.class, holder.holder2.data.get("value2").getClass());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you validate the values are -60 too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes for sure! makes sense.
Added via fe5611b, Thanks

@cowtowncoder cowtowncoder merged commit 131cb2e into FasterXML:2.16 Dec 13, 2023
@JooHyukKim JooHyukKim deleted the 3277-passing-test branch December 16, 2023 14:01
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.

3 participants