summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster2017-03-15 13:57:22 +0100
committerMarkus Armbruster2017-03-16 07:13:03 +0100
commit2d433236df5ab15d61a117c3d8e47a4abc651ce0 (patch)
tree3bce9246c8c5a9a10af2099e7bfbb9c4128922f1 /tests
parentqapi: Move detection of doc / expression name mismatch (diff)
downloadqemu-2d433236df5ab15d61a117c3d8e47a4abc651ce0.tar.gz
qemu-2d433236df5ab15d61a117c3d8e47a4abc651ce0.tar.xz
qemu-2d433236df5ab15d61a117c3d8e47a4abc651ce0.zip
qapi: Improve error message on @NAME: in free-form doc
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-34-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qapi-schema/doc-invalid-section.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/doc-invalid-section.err b/tests/qapi-schema/doc-invalid-section.err
index 85bb67b829..bda93b44fd 100644
--- a/tests/qapi-schema/doc-invalid-section.err
+++ b/tests/qapi-schema/doc-invalid-section.err
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-section.json:3: Free-form documentation block must not contain @NAME: sections
+tests/qapi-schema/doc-invalid-section.json:5:1: '@note:' not allowed in free-form documentation