diff options
Diffstat (limited to 'tests/qapi-schema/union-invalid-data.json')
-rw-r--r-- | tests/qapi-schema/union-invalid-data.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qapi-schema/union-invalid-data.json b/tests/qapi-schema/union-invalid-data.json new file mode 100644 index 0000000000..395ba24d39 --- /dev/null +++ b/tests/qapi-schema/union-invalid-data.json @@ -0,0 +1,6 @@ +# the union data type must be an object. +{ 'union': 'TestUnion', + 'base': 'int', + 'discriminator': 'int', + 'data': ['rubbish', 'nonsense'] +} |