diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qapi-schema/doc-duplicate-features.err | 0 | ||||
-rw-r--r-- | tests/qapi-schema/doc-duplicate-features.json | 11 | ||||
-rw-r--r-- | tests/qapi-schema/doc-duplicate-features.out | 22 | ||||
-rw-r--r-- | tests/qapi-schema/meson.build | 1 |
4 files changed, 34 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-duplicate-features.err b/tests/qapi-schema/doc-duplicate-features.err new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/qapi-schema/doc-duplicate-features.err diff --git a/tests/qapi-schema/doc-duplicate-features.json b/tests/qapi-schema/doc-duplicate-features.json new file mode 100644 index 0000000..a4d559e --- /dev/null +++ b/tests/qapi-schema/doc-duplicate-features.json @@ -0,0 +1,11 @@ +# Duplicate 'Features:' line + +## +# @foo: +# +# Features: +# @feat: mumble +# +# Features: +## +{ 'command': 'foo', 'features': ['feat'] } diff --git a/tests/qapi-schema/doc-duplicate-features.out b/tests/qapi-schema/doc-duplicate-features.out new file mode 100644 index 0000000..43bfe10 --- /dev/null +++ b/tests/qapi-schema/doc-duplicate-features.out @@ -0,0 +1,22 @@ +module ./builtin +object q_empty +enum QType + prefix QTYPE + member none + member qnull + member qnum + member qstring + member qdict + member qlist + member qbool +module doc-duplicate-features.json +command foo None -> None + gen=True success_response=True boxed=False oob=False preconfig=False + feature feat +doc symbol=foo + body= + + feature=feat +mumble + section=None +Features: diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build index 44a9385..4c714c7 100644 --- a/tests/qapi-schema/meson.build +++ b/tests/qapi-schema/meson.build @@ -66,6 +66,7 @@ schemas = [ 'doc-bad-union-member.json', 'doc-before-include.json', 'doc-before-pragma.json', + 'doc-duplicate-features.json', 'doc-duplicated-arg.json', 'doc-duplicated-return.json', 'doc-duplicated-since.json', |