summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/flat-union-inline-invalid-dict.err
diff options
context:
space:
mode:
authorMarkus Armbruster2019-09-27 15:46:34 +0200
committerMarkus Armbruster2019-09-28 17:17:32 +0200
commiteeb57c85da04b0c120562b25e3eac5cb16d8bf15 (patch)
tree1d28ffe491ac2c8d3d1aade7e0cea6c6081bb251 /tests/qapi-schema/flat-union-inline-invalid-dict.err
parentqapi: Improve reporting of missing / unknown definition keys (diff)
downloadqemu-eeb57c85da04b0c120562b25e3eac5cb16d8bf15.tar.gz
qemu-eeb57c85da04b0c120562b25e3eac5cb16d8bf15.tar.xz
qemu-eeb57c85da04b0c120562b25e3eac5cb16d8bf15.zip
qapi: Avoid redundant definition references in error messages
Many error messages refer to the offending definition even though they're preceded by an "in definition" line. Rephrase them. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190927134639.4284-22-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-inline-invalid-dict.err')
-rw-r--r--tests/qapi-schema/flat-union-inline-invalid-dict.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/flat-union-inline-invalid-dict.err b/tests/qapi-schema/flat-union-inline-invalid-dict.err
index 85739c2733..d353bdd338 100644
--- a/tests/qapi-schema/flat-union-inline-invalid-dict.err
+++ b/tests/qapi-schema/flat-union-inline-invalid-dict.err
@@ -1,2 +1,2 @@
tests/qapi-schema/flat-union-inline-invalid-dict.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-inline-invalid-dict.json:7: key 'type' is missing from member 'value1' of union 'TestUnion'
+tests/qapi-schema/flat-union-inline-invalid-dict.json:7: 'data' member 'value1' misses key 'type'