Skip to content

Expect type_error.321 for deep discarded values in the BON8 writer test - #5807

Merged
nlohmann merged 1 commit into
developfrom
fix/bon8-deep-discarded-test
Oct 11, 2026
Merged

nlohmann merged 1 commit into
developfrom
fix/bon8-deep-discarded-test

Conversation

@nlohmann

Copy link
Copy Markdown
Owner

test-large_json fails on develop since two pull requests merged on 2026-10-10 met in one test:

The test now expects type_error.321 for the deep discarded value, as unit-bon8.cpp does for shallow ones. The rest of the section (errors thrown from below and above the recursion bound) is unchanged.

Every pull request based on current develop gets this failure, for example the json_view stack.

Tests

unit-large_json.cpp passes with ASan/UBSan, with and without JSON_DIAGNOSTICS.

Public API

No breaking changes; test-only.


Written by Claude Code.

🤖 Generated with Claude Code

#5806 added the test while #5802 made to_bon8 reject discarded values; both
merged, so the test failed on develop.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
@nlohmann nlohmann added this to the Release 3.13.0 milestone Oct 11, 2026
@nlohmann
nlohmann merged commit c59ad95 into develop Oct 11, 2026
4 of 167 checks passed
@nlohmann
nlohmann deleted the fix/bon8-deep-discarded-test branch October 11, 2026 08:27
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.

1 participant