aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/struct-data-invalid.err
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-08-31 17:17:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2015-09-04 15:47:16 +0200
commit10689e36eb99e99751497ac8cef2a946e9a3a850 (patch)
treea1fe458f07481ef6aabd3e2137eef38305c7fe79 /tests/qapi-schema/struct-data-invalid.err
parent91f9816da4d505d379753896f3f7b6abb910324b (diff)
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>
Diffstat (limited to 'tests/qapi-schema/struct-data-invalid.err')
-rw-r--r--tests/qapi-schema/struct-data-invalid.err1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qapi-schema/struct-data-invalid.err b/tests/qapi-schema/struct-data-invalid.err
new file mode 100644
index 0000000000..a40e23aaea
--- /dev/null
+++ b/tests/qapi-schema/struct-data-invalid.err
@@ -0,0 +1 @@
+tests/qapi-schema/struct-data-invalid.json:2: 'data' for struct 'foo' should be a dictionary