aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-bad-command-arg.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-03-15 13:57:24 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-03-16 07:13:03 +0100
commitbdc001caaa60dd71af8cddf73688f28ac5a32bc2 (patch)
tree44d7b67037753438a1b5618c44a31bfd7198e49a /tests/qapi-schema/doc-bad-command-arg.json
parent4ea7148e89deda8795b3233bc5ba8c4bf037230e (diff)
tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-36-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/doc-bad-command-arg.json')
-rw-r--r--tests/qapi-schema/doc-bad-command-arg.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-bad-command-arg.json b/tests/qapi-schema/doc-bad-command-arg.json
new file mode 100644
index 0000000000..048e0fc5ef
--- /dev/null
+++ b/tests/qapi-schema/doc-bad-command-arg.json
@@ -0,0 +1,8 @@
+# Arguments listed in the doc comment must exist in the actual schema
+
+##
+# @foo:
+# @a: a
+# @b: b
+##
+{ 'command': 'foo', 'data': {'a': 'int'} }