summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/struct-data-invalid.json
AgeCommit message (Collapse)AuthorFilesLines
2015-09-04qapi: Fix errors for non-string, non-dictionary membersMarkus Armbruster1-1/+0
Fixes the errors demonstrated by the previous commit. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
2015-09-04tests/qapi-schema: Cover non-string, non-dictionary membersMarkus Armbruster1-0/+3
We always report "should be a dictionary" then. This is misleading: when allow_dict, it can be a dictionary or a type name string, else it can only be a type name. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>