tests/qapi-schema: Drop TODO comment on simple unions

Simple unions don't need more features, they need to die.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-6-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
This commit is contained in:
Markus Armbruster 2021-03-23 10:40:02 +01:00
parent 27ae2f0787
commit 1444989a3a
2 changed files with 1 additions and 2 deletions

View File

@ -1,2 +1,2 @@
flat-union-no-base.json: In union 'TestUnion':
flat-union-no-base.json:9: 'discriminator' requires 'base'
flat-union-no-base.json:8: 'discriminator' requires 'base'

View File

@ -1,5 +1,4 @@
# flat unions require a base
# TODO: simple unions should be able to use an enum discriminator
{ 'struct': 'TestTypeA',
'data': { 'string': 'str' } }
{ 'struct': 'TestTypeB',