summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema
diff options
context:
space:
mode:
authorMarkus Armbruster2021-09-08 06:54:28 +0200
committerMarkus Armbruster2021-09-08 15:30:30 +0200
commit62f27589f8549d6cf1f7fe21ed55ce6f2f705450 (patch)
tree497a5b605de158706d4371152f55f3b695ceda2e /tests/qapi-schema
parenttests/qapi-schema: Cover 'not' condition with empty argument (diff)
downloadqemu-62f27589f8549d6cf1f7fe21ed55ce6f2f705450.tar.gz
qemu-62f27589f8549d6cf1f7fe21ed55ce6f2f705450.tar.xz
qemu-62f27589f8549d6cf1f7fe21ed55ce6f2f705450.zip
qapi: Fix bogus error for 'if': { 'not': '' }
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210908045428.2689093-6-armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> [check_infix()'s type hint fixed]
Diffstat (limited to 'tests/qapi-schema')
-rw-r--r--tests/qapi-schema/bad-if-not.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/bad-if-not.err b/tests/qapi-schema/bad-if-not.err
index b3acdd679a..b33f5e16b8 100644
--- a/tests/qapi-schema/bad-if-not.err
+++ b/tests/qapi-schema/bad-if-not.err
@@ -1,2 +1,2 @@
bad-if-not.json: In struct 'TestIfStruct':
-bad-if-not.json:2: 'if' condition [] of struct is useless
+bad-if-not.json:2: 'if' condition '' of struct is not a valid identifier