aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-discriminator-bad-name.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/flat-union-discriminator-bad-name.json')
-rw-r--r--tests/qapi-schema/flat-union-discriminator-bad-name.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/flat-union-discriminator-bad-name.json b/tests/qapi-schema/flat-union-discriminator-bad-name.json
index 66376084fc..ea84b75cac 100644
--- a/tests/qapi-schema/flat-union-discriminator-bad-name.json
+++ b/tests/qapi-schema/flat-union-discriminator-bad-name.json
@@ -1,5 +1,5 @@
# discriminator '*switch' isn't a member of base, 'switch' is
-# reports "does not allow optional name", which is good enough
+# reports "uses invalid name", which is good enough
{ 'enum': 'Enum', 'data': [ 'one', 'two' ] }
{ 'struct': 'Base',
'data': { '*switch': 'Enum' } }