tests/qapi-schema: Cover non-string, non-dictionary members

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>
This commit is contained in:
Markus Armbruster 2015-08-31 17:17:42 +02:00
parent 91f9816da4
commit 10689e36eb
13 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1 @@
tests/qapi-schema/struct-data-invalid.json:2: 'data' for struct 'foo' should be a dictionary