diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-03-16 08:13:18 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-04-24 15:21:39 +0200 |
commit | 6f2ab6090de993988f7345e449852821ffc75f4e (patch) | |
tree | d9c9d1f9c6cb65f5fdb754f9bd16d0e926ff1d08 /tests/qapi-schema/nested-struct-data.err | |
parent | 7c4075190da24a01d9c02f5f59cf0651611bd40f (diff) |
qapi: Fix error message when type name or array is expected
We incorrectly report "FOO should be a type name" when it could also
be an array. Fix that.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230316071325.492471-8-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/nested-struct-data.err')
-rw-r--r-- | tests/qapi-schema/nested-struct-data.err | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/nested-struct-data.err b/tests/qapi-schema/nested-struct-data.err index c7258a0182..7dc5c7cb2d 100644 --- a/tests/qapi-schema/nested-struct-data.err +++ b/tests/qapi-schema/nested-struct-data.err @@ -1,2 +1,2 @@ nested-struct-data.json: In command 'foo': -nested-struct-data.json:2: 'data' member 'a' should be a type name +nested-struct-data.json:2: 'data' member 'a' should be a type name or array |