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

JsonNumEquals: fix equivalence for integer nodes #61

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

Conversation

abrenk
Copy link

@abrenk abrenk commented Mar 26, 2025

I had superfluous changes when using json-patch that were caused by comparing an IntNode to a LongNode. I've corrected the JsonNumEquals class and added tests for all possible combinations.

Fixes #45.

@abrenk abrenk force-pushed the fix-numequals-for-integer-nodes branch from d3482c1 to bf8acf8 Compare March 26, 2025 11:40
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.

JsonNumEquals fails to compare IntNode and LongNode with same value
1 participant