aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-unknown.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-unknown.json')
-rw-r--r--tests/qapi-schema/alternate-unknown.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qapi-schema/alternate-unknown.json b/tests/qapi-schema/alternate-unknown.json
index 0c305c282c..ad5c103028 100644
--- a/tests/qapi-schema/alternate-unknown.json
+++ b/tests/qapi-schema/alternate-unknown.json
@@ -1,4 +1,3 @@
-# we reject an anonymous union with unknown type in branch
-{ 'union': 'Union',
- 'discriminator': {},
+# we reject an alternate with unknown type in branch
+{ 'alternate': 'Alt',
'data': { 'unknown': 'MissingType' } }