aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-reverse-define.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/flat-union-reverse-define.json')
-rw-r--r--tests/qapi-schema/flat-union-reverse-define.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qapi-schema/flat-union-reverse-define.json b/tests/qapi-schema/flat-union-reverse-define.json
index 9ea7e72201..648bbfe2b7 100644
--- a/tests/qapi-schema/flat-union-reverse-define.json
+++ b/tests/qapi-schema/flat-union-reverse-define.json
@@ -4,14 +4,14 @@
'data': { 'value1': 'TestTypeA',
'value2': 'TestTypeB' } }
-{ 'type': 'TestBase',
+{ 'struct': 'TestBase',
'data': { 'enum1': 'TestEnum' } }
{ 'enum': 'TestEnum',
'data': [ 'value1', 'value2' ] }
-{ 'type': 'TestTypeA',
+{ 'struct': 'TestTypeA',
'data': { 'string': 'str' } }
-{ 'type': 'TestTypeB',
+{ 'struct': 'TestTypeB',
'data': { 'integer': 'int' } }