summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-string.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-conflict-string.json')
-rw-r--r--tests/qapi-schema/alternate-conflict-string.json6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/qapi-schema/alternate-conflict-string.json b/tests/qapi-schema/alternate-conflict-string.json
index 72f04a820a..85adbd4adc 100644
--- a/tests/qapi-schema/alternate-conflict-string.json
+++ b/tests/qapi-schema/alternate-conflict-string.json
@@ -1,6 +1,4 @@
-# we reject alternates with multiple string-like branches
-{ 'enum': 'Enum',
- 'data': [ 'hello', 'world' ] }
+# alternate branches of 'str' type conflict with all scalar types
{ 'alternate': 'Alt',
'data': { 'one': 'str',
- 'two': 'Enum' } }
+ 'two': 'int' } }