diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qapi-schema/enum-dict-no-name.err | 2 | ||||
-rw-r--r-- | tests/qapi-schema/enum-dict-no-name.json | 2 | ||||
-rw-r--r-- | tests/qapi-schema/enum-dict-no-name.out | 0 |
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/enum-dict-no-name.err b/tests/qapi-schema/enum-dict-no-name.err new file mode 100644 index 0000000..3ce0c16 --- /dev/null +++ b/tests/qapi-schema/enum-dict-no-name.err @@ -0,0 +1,2 @@ +enum-dict-no-name.json: In enum 'Enum': +enum-dict-no-name.json:2: 'data' member misses key 'name' diff --git a/tests/qapi-schema/enum-dict-no-name.json b/tests/qapi-schema/enum-dict-no-name.json new file mode 100644 index 0000000..5952a86 --- /dev/null +++ b/tests/qapi-schema/enum-dict-no-name.json @@ -0,0 +1,2 @@ +# enum member lacking a name +{ 'enum': 'Enum', 'data': [ {} ] } diff --git a/tests/qapi-schema/enum-dict-no-name.out b/tests/qapi-schema/enum-dict-no-name.out new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/qapi-schema/enum-dict-no-name.out |