aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-array.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-array.json')
-rw-r--r--tests/qapi-schema/alternate-array.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qapi-schema/alternate-array.json b/tests/qapi-schema/alternate-array.json
index 0da1a641b3..fc0632f128 100644
--- a/tests/qapi-schema/alternate-array.json
+++ b/tests/qapi-schema/alternate-array.json
@@ -1,8 +1,7 @@
-# we do not allow array branches in anonymous unions
+# we do not allow array branches in alternates
# TODO: should we support this?
{ 'type': 'One',
'data': { 'name': 'str' } }
-{ 'union': 'MyUnion',
- 'discriminator': {},
+{ 'alternate': 'Alt',
'data': { 'one': 'One',
'two': [ 'int' ] } }