aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-bad-union-member.err
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-02-16 15:58:29 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-02-26 10:43:56 +0100
commit15333abed9112f99e0b1af4327154af733b987d3 (patch)
tree91739126eb386685656c7e30dcc2fffae826d2ed /tests/qapi-schema/doc-bad-union-member.err
parente51e80ccf671dc285d0f868fff38aedb01694ae9 (diff)
qapi: Improve error position for bogus argument descriptions
When documented arguments don't exist, the error message points to the beginning of the definition comment. Point to the first bogus argument description instead. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240216145841.2099240-6-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/qapi-schema/doc-bad-union-member.err')
-rw-r--r--tests/qapi-schema/doc-bad-union-member.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/doc-bad-union-member.err b/tests/qapi-schema/doc-bad-union-member.err
index 6dd2726a65..cdf1225cab 100644
--- a/tests/qapi-schema/doc-bad-union-member.err
+++ b/tests/qapi-schema/doc-bad-union-member.err
@@ -1 +1 @@
-doc-bad-union-member.json:3: documented members 'a', 'b' do not exist
+doc-bad-union-member.json:5: documented members 'a', 'b' do not exist