aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-nested.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-nested.json')
-rw-r--r--tests/qapi-schema/alternate-nested.json10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/qapi-schema/alternate-nested.json b/tests/qapi-schema/alternate-nested.json
index ed2b6b7055..c4233b9f33 100644
--- a/tests/qapi-schema/alternate-nested.json
+++ b/tests/qapi-schema/alternate-nested.json
@@ -1,7 +1,5 @@
-# we reject a nested anonymous union branch
-{ 'union': 'Union1',
- 'discriminator': {},
+# we reject a nested alternate branch
+{ 'alternate': 'Alt1',
'data': { 'name': 'str', 'value': 'int' } }
-{ 'union': 'Union2',
- 'discriminator': {},
- 'data': { 'nested': 'Union1' } }
+{ 'alternate': 'Alt2',
+ 'data': { 'nested': 'Alt1' } }