aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-base.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-base.json')
-rw-r--r--tests/qapi-schema/alternate-base.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qapi-schema/alternate-base.json b/tests/qapi-schema/alternate-base.json
index dad7f02998..66edc89640 100644
--- a/tests/qapi-schema/alternate-base.json
+++ b/tests/qapi-schema/alternate-base.json
@@ -1,7 +1,6 @@
-# we reject anonymous union with base type
+# we reject alternate with base type
{ 'type': 'Base',
'data': { 'string': 'str' } }
-{ 'union': 'MyUnion',
+{ 'alternate': 'Alt',
'base': 'Base',
- 'discriminator': {},
'data': { 'number': 'int' } }