aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-base-no-discriminator.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/union-base-no-discriminator.json')
-rw-r--r--tests/qapi-schema/union-base-no-discriminator.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qapi-schema/union-base-no-discriminator.json b/tests/qapi-schema/union-base-no-discriminator.json
index 052596c46e..1409cf5c9e 100644
--- a/tests/qapi-schema/union-base-no-discriminator.json
+++ b/tests/qapi-schema/union-base-no-discriminator.json
@@ -1,11 +1,11 @@
# we reject simple unions with a base (or flat unions without discriminator)
-{ 'type': 'TestTypeA',
+{ 'struct': 'TestTypeA',
'data': { 'string': 'str' } }
-{ 'type': 'TestTypeB',
+{ 'struct': 'TestTypeB',
'data': { 'integer': 'int' } }
-{ 'type': 'Base',
+{ 'struct': 'Base',
'data': { 'string': 'str' } }
{ 'union': 'TestUnion',