Skip to content

x.json2: code cleanup, add more tests#26064

Merged
spytheman merged 3 commits into
vlang:masterfrom
kbkpbot:x-json2-cleanup-tests
Dec 21, 2025
Merged

x.json2: code cleanup, add more tests#26064
spytheman merged 3 commits into
vlang:masterfrom
kbkpbot:x-json2-cleanup-tests

Conversation

@kbkpbot

@kbkpbot kbkpbot commented Dec 21, 2025

Copy link
Copy Markdown
Contributor

followup of PR #26033

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.
Thank you for the cleanup 🙇🏻 .

Comment thread vlib/x/json2/tests/decode_struct_test.v Outdated
@spytheman

spytheman commented Dec 21, 2025

Copy link
Copy Markdown
Contributor

hm, did the additional tests removed in d1d431b, fail on some of the platforms (the ones in test_float_precision) ?

@kbkpbot

kbkpbot commented Dec 21, 2025

Copy link
Copy Markdown
Contributor Author

Sorry, I made a mistake. I misremembered and thought the floating-point issue had been detected in the PR #26060.

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.
Thank you @kbkpbot .

@spytheman spytheman merged commit 703eca8 into vlang:master Dec 21, 2025
79 checks passed
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