aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/bad-if-list.err
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-09-14 17:34:58 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-09-24 14:07:23 +0200
commitc2c7065e1752a3be1b437d1ea359cde35d28ee3b (patch)
tree309fd28ba39f32c26ebaaf9ca0b06852a5c67f2d /tests/qapi-schema/bad-if-list.err
parent887a2069f76fa99b9755467126dd171a9bad34a3 (diff)
qapi: Reject blank 'if' conditions in addition to empty ones
"'if': 'COND'" generates "#if COND". We reject empty COND because it won't compile. Blank COND won't compile any better, so reject that, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-12-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/bad-if-list.err')
-rw-r--r--tests/qapi-schema/bad-if-list.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/bad-if-list.err b/tests/qapi-schema/bad-if-list.err
index 0af6316f78..53af099083 100644
--- a/tests/qapi-schema/bad-if-list.err
+++ b/tests/qapi-schema/bad-if-list.err
@@ -1 +1 @@
-tests/qapi-schema/bad-if-list.json:2: 'if' condition '' makes no sense
+tests/qapi-schema/bad-if-list.json:2: 'if' condition ' ' makes no sense