From 10689e36eb99e99751497ac8cef2a946e9a3a850 Mon Sep 17 00:00:00 2001
From: Markus Armbruster <armbru@redhat.com>
Date: Mon, 31 Aug 2015 17:17:42 +0200
Subject: 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>
---
 tests/qapi-schema/args-invalid.err | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tests/qapi-schema/args-invalid.err

(limited to 'tests/qapi-schema/args-invalid.err')

diff --git a/tests/qapi-schema/args-invalid.err b/tests/qapi-schema/args-invalid.err
new file mode 100644
index 0000000000..6d0fa05c80
--- /dev/null
+++ b/tests/qapi-schema/args-invalid.err
@@ -0,0 +1 @@
+tests/qapi-schema/args-invalid.json:2: 'data' for command 'foo' should be a dictionary
-- 
cgit v1.2.3