aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-09-08 06:54:28 +0200
committerMarkus Armbruster <armbru@redhat.com>2021-09-08 15:30:30 +0200
commit62f27589f8549d6cf1f7fe21ed55ce6f2f705450 (patch)
tree497a5b605de158706d4371152f55f3b695ceda2e /tests
parent71f03ef9f66b020d58acad5227e886102db41127 (diff)
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')
-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