aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-branch-clash.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/flat-union-branch-clash.json')
-rw-r--r--tests/qapi-schema/flat-union-branch-clash.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qapi-schema/flat-union-branch-clash.json b/tests/qapi-schema/flat-union-branch-clash.json
index 4091477b04..8b0b807a03 100644
--- a/tests/qapi-schema/flat-union-branch-clash.json
+++ b/tests/qapi-schema/flat-union-branch-clash.json
@@ -1,11 +1,11 @@
# FIXME: we should check for no duplicate keys between branches and base
{ 'enum': 'TestEnum',
'data': [ 'value1', 'value2' ] }
-{ 'type': 'Base',
+{ 'struct': 'Base',
'data': { 'enum1': 'TestEnum', 'name': 'str' } }
-{ 'type': 'Branch1',
+{ 'struct': 'Branch1',
'data': { 'name': 'str' } }
-{ 'type': 'Branch2',
+{ 'struct': 'Branch2',
'data': { 'value': 'int' } }
{ 'union': 'TestUnion',
'base': 'Base',