diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-27 15:46:34 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-28 17:17:32 +0200 |
commit | eeb57c85da04b0c120562b25e3eac5cb16d8bf15 (patch) | |
tree | 1d28ffe491ac2c8d3d1aade7e0cea6c6081bb251 /tests/qapi-schema/enum-dict-member-unknown.err | |
parent | 3f58cc29a8d2f01dc498ff4624a25e72448059a1 (diff) |
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/enum-dict-member-unknown.err')
-rw-r--r-- | tests/qapi-schema/enum-dict-member-unknown.err | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/enum-dict-member-unknown.err b/tests/qapi-schema/enum-dict-member-unknown.err index 79062729a1..5df0236343 100644 --- a/tests/qapi-schema/enum-dict-member-unknown.err +++ b/tests/qapi-schema/enum-dict-member-unknown.err @@ -1,3 +1,3 @@ tests/qapi-schema/enum-dict-member-unknown.json: In enum 'MyEnum': -tests/qapi-schema/enum-dict-member-unknown.json:2: unknown key 'bad-key' in member of enum 'MyEnum' +tests/qapi-schema/enum-dict-member-unknown.json:2: 'data' member has unknown key 'bad-key' Valid keys are 'if', 'name'. |