diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-09-17 16:31:33 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-09-27 08:23:25 +0200 |
commit | 8b3b3a16dfca57b7c4e7b8af215aec96880153d7 (patch) | |
tree | a4d6838ead2f7a8ef8e45240e310987c373be1cc /tests/qapi-schema/flat-union-discriminator-bad-name.json | |
parent | 4e99f4b12c0e47898e8358a5c8fa54267bb16185 (diff) |
tests/qapi-schema: Rename flat-union-* test cases to union-*
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210917143134.412106-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com
Diffstat (limited to 'tests/qapi-schema/flat-union-discriminator-bad-name.json')
-rw-r--r-- | tests/qapi-schema/flat-union-discriminator-bad-name.json | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/qapi-schema/flat-union-discriminator-bad-name.json b/tests/qapi-schema/flat-union-discriminator-bad-name.json deleted file mode 100644 index 3ae8c06a89..0000000000 --- a/tests/qapi-schema/flat-union-discriminator-bad-name.json +++ /dev/null @@ -1,10 +0,0 @@ -# discriminator '*switch' isn't a member of base, 'switch' is -{ 'enum': 'Enum', 'data': [ 'one', 'two' ] } -{ 'struct': 'Base', - 'data': { '*switch': 'Enum' } } -{ 'struct': 'Branch', 'data': { 'name': 'str' } } -{ 'union': 'MyUnion', - 'base': 'Base', - 'discriminator': '*switch', - 'data': { 'one': 'Branch', - 'two': 'Branch' } } |