aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/bad-base.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/bad-base.json')
-rw-r--r--tests/qapi-schema/bad-base.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/bad-base.json b/tests/qapi-schema/bad-base.json
index a6904706ad..a634331cdd 100644
--- a/tests/qapi-schema/bad-base.json
+++ b/tests/qapi-schema/bad-base.json
@@ -1,3 +1,3 @@
# we reject a base that is not a struct
{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } }
-{ 'type': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }
+{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }