aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-optional-discriminator.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/flat-union-optional-discriminator.json')
-rw-r--r--tests/qapi-schema/flat-union-optional-discriminator.json13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/qapi-schema/flat-union-optional-discriminator.json b/tests/qapi-schema/flat-union-optional-discriminator.json
index 9f19af5789..08a8f7ef8b 100644
--- a/tests/qapi-schema/flat-union-optional-discriminator.json
+++ b/tests/qapi-schema/flat-union-optional-discriminator.json
@@ -1,21 +1,8 @@
# we require the discriminator to be non-optional
-
-##
-# @Enum:
-##
{ 'enum': 'Enum', 'data': [ 'one', 'two' ] }
-##
-# @Base:
-##
{ 'struct': 'Base',
'data': { '*switch': 'Enum' } }
-##
-# @Branch:
-##
{ 'struct': 'Branch', 'data': { 'name': 'str' } }
-##
-# @MyUnion:
-##
{ 'union': 'MyUnion',
'base': 'Base',
'discriminator': '*switch',