aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-bad-base.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/flat-union-bad-base.json')
-rw-r--r--tests/qapi-schema/flat-union-bad-base.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qapi-schema/flat-union-bad-base.json b/tests/qapi-schema/flat-union-bad-base.json
index d41c80c3bd..e2e622bb6e 100644
--- a/tests/qapi-schema/flat-union-bad-base.json
+++ b/tests/qapi-schema/flat-union-bad-base.json
@@ -2,9 +2,9 @@
# TODO: should we allow an anonymous inline base type?
{ 'enum': 'TestEnum',
'data': [ 'value1', 'value2' ] }
-{ 'type': 'TestTypeA',
+{ 'struct': 'TestTypeA',
'data': { 'string': 'str' } }
-{ 'type': 'TestTypeB',
+{ 'struct': 'TestTypeB',
'data': { 'integer': 'int' } }
{ 'union': 'TestUnion',
'base': { 'enum1': 'TestEnum', 'kind': 'str' },