-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add unused members to test structs in JSON test suite
This commit updates various structs in the JSON test suite to include unused members. These additions aim to test the improved tolerance of JSON encoding for C struct members that may not be fully described by JSON descriptors. As a consequence of the addition of unused fields, prefer designated initializers instead of postionnal ones. Add a note about a test which constantly fails with a unused field. Signed-off-by: Lucas Dietrich <[email protected]>
- Loading branch information
1 parent
59eefd2
commit cf38367
Showing
1 changed file
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters