Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check-qjson: Test errors from qobject_from_json()
Pass &error_abort with known-good input. Else pass &err and check what comes back. This demonstrates that the parser fails silently for many errors. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <1488317230-26248-15-git-send-email-armbru@redhat.com>
- Loading branch information
Markus Armbruster
committed
Mar 7, 2017
1 parent
5577fff
commit aec4b05
Showing
1 changed file
with
56 additions
and
32 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