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 regression tests for #3204 and #3333 #3629

Merged
merged 3 commits into from
Jul 31, 2022

Conversation

falbrechtskirchinger
Copy link
Contributor

Both #3204 and #3333 were fixed by #3604. Add regression tests.

Closes #3204.
Closes #3333.

@coveralls
Copy link

coveralls commented Jul 30, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling c3fa28c on falbrechtskirchinger:regression-tests into d1d79b9 on nlohmann:develop.

@falbrechtskirchinger falbrechtskirchinger force-pushed the regression-tests branch 2 times, most recently from 20f2742 to c3fa28c Compare July 30, 2022 12:06
@nlohmann
Copy link
Owner

Codacy complains about non-explicit constructors. Can this be fixed easily?

@falbrechtskirchinger
Copy link
Contributor Author

You need to add exceptions for all 4.

@falbrechtskirchinger
Copy link
Contributor Author

Hm. It's definitely required for 3333. 3204 should still break (in 3.10.5) with explicit. Let me check.

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@nlohmann nlohmann self-assigned this Jul 30, 2022
@nlohmann nlohmann added this to the Release 3.11.0 milestone Jul 30, 2022
@nlohmann nlohmann merged commit 19e4c2b into nlohmann:develop Jul 31, 2022
@falbrechtskirchinger falbrechtskirchinger deleted the regression-tests branch July 31, 2022 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ambiguous conversion from nlohmann::basic_json<> to custom class. ambiguous regression
3 participants