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

[C++] properly format some of the tests #2762

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

mkmkme
Copy link
Contributor

@mkmkme mkmkme commented Feb 23, 2024

Use raw string literals and format JSON to improve readability.

What is the purpose of the change

I was doing some stuff related to AVRO-3945 and realised some of it deserves a new test case. I wanted to understand how do the tests from CodecTests.cc work and found it quite difficult due to the formatting.

In some near future I hope to switch to C++20 to enable designated initializers. But for that I'll have to check the version of the compilers in the CI. For now this should do.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

  • Does this pull request introduce a new feature? no

Use raw string literals and format JSON to improve readability.
@github-actions github-actions bot added the C++ Pull Requests for C++ binding label Feb 23, 2024
@martin-g martin-g merged commit 627e8d5 into apache:main Feb 23, 2024
4 checks passed
RanbirK pushed a commit to RanbirK/avro that referenced this pull request May 13, 2024
Use raw string literals and format JSON to improve readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Pull Requests for C++ binding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants