aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-string.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-conflict-string.json')
-rw-r--r--tests/qapi-schema/alternate-conflict-string.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qapi-schema/alternate-conflict-string.json b/tests/qapi-schema/alternate-conflict-string.json
index 3834a3d..72f04a8 100644
--- a/tests/qapi-schema/alternate-conflict-string.json
+++ b/tests/qapi-schema/alternate-conflict-string.json
@@ -1,7 +1,6 @@
-# we reject anonymous unions with multiple string-like branches
+# we reject alternates with multiple string-like branches
{ 'enum': 'Enum',
'data': [ 'hello', 'world' ] }
-{ 'union': 'MyUnion',
- 'discriminator': {},
+{ 'alternate': 'Alt',
'data': { 'one': 'str',
'two': 'Enum' } }