qemu-patch-raspberry4/tests/qapi-schema/args-invalid.json
Markus Armbruster 10689e36eb 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>
2015-09-04 15:47:16 +02:00

4 lines
115 B
JSON

# FIXME error "should be a dictionary" is misleading, type name is also fine
{ 'command': 'foo',
'data': false }