diff options
Diffstat (limited to 'tests/qapi-schema/enum-dict-member-unknown.json')
-rw-r--r-- | tests/qapi-schema/enum-dict-member-unknown.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/enum-dict-member-unknown.json b/tests/qapi-schema/enum-dict-member-unknown.json new file mode 100644 index 0000000000..6664c59201 --- /dev/null +++ b/tests/qapi-schema/enum-dict-member-unknown.json @@ -0,0 +1,2 @@ +# we reject any enum member that is not a string or a dict with 'name' +{ 'enum': 'MyEnum', 'data': [ { 'name': 'foo', 'bad-key': 'str' } ] } |