check-qjson: Cover blank and lexically erroneous input
qobject_from_json() can return null without setting an error on lexical errors. I call that a bug. Add test coverage to demonstrate it. Signed-off-by: NMarkus Armbruster <armbru@redhat.com> Reviewed-by: NEric Blake <eblake@redhat.com> Message-Id: <20180823164025.12553-4-armbru@redhat.com>
Showing
想要评论请 注册 或 登录