From 36a43905ffcac8767947626a6761df63fc020841 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 24 Oct 2019 13:02:27 +0200 Subject: qapi: Fix enum doc comment checking Enumeration type documentation comments are not checked, as demonstrated by test doc-bad-enum-member. This is because we neglect to call self.doc.check() for enumeration types. Messed up in 816a57cd6e "qapi: Fix detection of bogus member documentation". Fix it. Signed-off-by: Markus Armbruster Message-Id: <20191024110237.30963-10-armbru@redhat.com> --- tests/qapi-schema/doc-bad-enum-member.json | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/qapi-schema/doc-bad-enum-member.json') diff --git a/tests/qapi-schema/doc-bad-enum-member.json b/tests/qapi-schema/doc-bad-enum-member.json index 9f32fe64b4..9cab35c6e8 100644 --- a/tests/qapi-schema/doc-bad-enum-member.json +++ b/tests/qapi-schema/doc-bad-enum-member.json @@ -1,5 +1,4 @@ # Members listed in the doc comment must exist in the actual schema -# BUG: nonexistent @a is not rejected ## # @Foo: -- cgit v1.2.3-55-g7522