aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/bad-if.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/bad-if.json')
-rw-r--r--tests/qapi-schema/bad-if.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/bad-if.json b/tests/qapi-schema/bad-if.json
index 3edd1a0..fdc0c87 100644
--- a/tests/qapi-schema/bad-if.json
+++ b/tests/qapi-schema/bad-if.json
@@ -1,3 +1,3 @@
# check invalid 'if' type
{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
- 'if': { 'value': 'defined(TEST_IF_STRUCT)' } }
+ 'if': ['defined(TEST_IF_STRUCT)'] }