diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-28 22:27:00 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-07 16:07:47 +0100 |
commit | aec4b054ea36c53c8b887da99f20010133b84378 (patch) | |
tree | 634b7d7c965fca9a28a43e6f088c91d1d8c737f5 /tests/tmp105-test.c | |
parent | 5577fff73822c91efd827dde33b8513a5e03ee8d (diff) |
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>
Diffstat (limited to 'tests/tmp105-test.c')
0 files changed, 0 insertions, 0 deletions