diff options
| author | Markus Armbruster | 2021-03-23 10:40:22 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2021-03-23 22:31:31 +0100 |
| commit | e75d4225b76842ec899f25e8ff39b070119f033f (patch) | |
| tree | 92f99d87c6f4ea0ae843dfd508f82ef3dab5a099 /tests/qapi-schema/args-name-clash.json | |
| parent | qapi: Enforce command naming rules (diff) | |
| download | qemu-e75d4225b76842ec899f25e8ff39b070119f033f.tar.gz qemu-e75d4225b76842ec899f25e8ff39b070119f033f.tar.xz qemu-e75d4225b76842ec899f25e8ff39b070119f033f.zip | |
tests/qapi-schema: Switch member name clash test to struct
Test args-name-clash covers command parameter name clash. This
effectively covers struct member name clash as well. The next commit
will make parameter name clash impossible. Convert args-name-clash
from testing command to testing a struct, and rename it to
struct-member-name-clash.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-26-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Commit message typo fixed]
Diffstat (limited to 'tests/qapi-schema/args-name-clash.json')
| -rw-r--r-- | tests/qapi-schema/args-name-clash.json | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/qapi-schema/args-name-clash.json b/tests/qapi-schema/args-name-clash.json deleted file mode 100644 index 61423cb893..0000000000 --- a/tests/qapi-schema/args-name-clash.json +++ /dev/null @@ -1,4 +0,0 @@ -# C member name collision -# Reject members that clash when mapped to C names (we would have two 'a_b' -# members). -{ 'command': 'oops', 'data': { 'a-b': 'str', 'a_b': 'str' } } |
