aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-empty.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/alternate-empty.json')
-rw-r--r--tests/qapi-schema/alternate-empty.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qapi-schema/alternate-empty.json b/tests/qapi-schema/alternate-empty.json
index fff15baf16..9f445474e6 100644
--- a/tests/qapi-schema/alternate-empty.json
+++ b/tests/qapi-schema/alternate-empty.json
@@ -1,2 +1,2 @@
-# alternates must list at least two types to be useful
-{ 'alternate': 'Alt', 'data': { 'i': 'int' } }
+# alternates cannot be empty
+{ 'alternate': 'Alt', 'data': { } }