aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-bad-branch.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/union-bad-branch.json')
-rw-r--r--tests/qapi-schema/union-bad-branch.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qapi-schema/union-bad-branch.json b/tests/qapi-schema/union-bad-branch.json
index 4303666bb5..913aa38bc8 100644
--- a/tests/qapi-schema/union-bad-branch.json
+++ b/tests/qapi-schema/union-bad-branch.json
@@ -1,7 +1,7 @@
# we reject normal unions where branches would collide in C
-{ 'type': 'One',
+{ 'struct': 'One',
'data': { 'string': 'str' } }
-{ 'type': 'Two',
+{ 'struct': 'Two',
'data': { 'number': 'int' } }
{ 'union': 'MyUnion',
'data': { 'one': 'One',