summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-clash.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-05-22 18:42:14 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-05-31 16:04:05 +0200
commit8168ca8ea3699b9fca4d8c948c7fa6ecdedc4a97 (patch)
treeaabf333374f1e7995ea807d068fb745f0baab59c /tests/qapi-schema/alternate-clash.json
parent8339fa266ccd03a43d4a9f196f1098fa3c6924f2 (diff)
downloadqemu-8168ca8ea3699b9fca4d8c948c7fa6ecdedc4a97.tar.gz
tests/qapi-schema: Avoid 'str' in alternate test cases
The next commit is going to make alternate members of type 'str' conflict with other scalar types. Would break a few test cases that don't actually require 'str'. Flip them from 'str' to 'bool' or 'EnumOne'. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1495471335-23707-4-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/qapi-schema/alternate-clash.json')
-rw-r--r--tests/qapi-schema/alternate-clash.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/alternate-clash.json b/tests/qapi-schema/alternate-clash.json
index 6d73bc527b..9a59b88ced 100644
--- a/tests/qapi-schema/alternate-clash.json
+++ b/tests/qapi-schema/alternate-clash.json
@@ -5,4 +5,4 @@
# the implicit Alt1Kind enum, we would still have a collision with the
# resulting C union trying to have two members named 'a_b'.
{ 'alternate': 'Alt1',
- 'data': { 'a-b': 'str', 'a_b': 'int' } }
+ 'data': { 'a-b': 'bool', 'a_b': 'int' } }