mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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:
parent
91f9816da4
commit
10689e36eb
13 changed files with 17 additions and 0 deletions
1
tests/qapi-schema/struct-data-invalid.err
Normal file
1
tests/qapi-schema/struct-data-invalid.err
Normal file
|
@ -0,0 +1 @@
|
|||
tests/qapi-schema/struct-data-invalid.json:2: 'data' for struct 'foo' should be a dictionary
|
Loading…
Add table
Add a link
Reference in a new issue