aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-inline.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/flat-union-inline.json')
-rw-r--r--tests/qapi-schema/flat-union-inline.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/flat-union-inline.json b/tests/qapi-schema/flat-union-inline.json
index 65c15d0a1e..6bfdd65811 100644
--- a/tests/qapi-schema/flat-union-inline.json
+++ b/tests/qapi-schema/flat-union-inline.json
@@ -2,7 +2,7 @@
# TODO: should we allow anonymous inline types?
{ 'enum': 'TestEnum',
'data': [ 'value1', 'value2' ] }
-{ 'type': 'Base',
+{ 'struct': 'Base',
'data': { 'enum1': 'TestEnum', 'kind': 'str' } }
{ 'union': 'TestUnion',
'base': { 'enum1': 'TestEnum', 'kind': 'str' },