diff options
author | Markus Armbruster | 2021-03-23 10:40:11 +0100 |
---|---|---|
committer | Markus Armbruster | 2021-03-23 22:31:05 +0100 |
commit | 3e6c8a633113fb6a60369c40cf2061de50727bf6 (patch) | |
tree | b04ba3ff47afa8f1559a3774add4dd299a5232bf /tests/qapi-schema/double-type.json | |
parent | qapi: Enforce event naming rules (diff) | |
download | qemu-3e6c8a633113fb6a60369c40cf2061de50727bf6.tar.gz qemu-3e6c8a633113fb6a60369c40cf2061de50727bf6.tar.xz qemu-3e6c8a633113fb6a60369c40cf2061de50727bf6.zip |
qapi: Enforce type naming rules
Type names should be CamelCase. Enforce this. The only offenders are
in tests/. Fix them. Add test type-case to cover the new error.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-15-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Regexp simplified, new test made more robust]
Diffstat (limited to 'tests/qapi-schema/double-type.json')
-rw-r--r-- | tests/qapi-schema/double-type.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/double-type.json b/tests/qapi-schema/double-type.json index 911fa7af50..2c0809f38d 100644 --- a/tests/qapi-schema/double-type.json +++ b/tests/qapi-schema/double-type.json @@ -1,2 +1,2 @@ # we reject an expression with ambiguous metatype -{ 'command': 'foo', 'struct': 'bar', 'data': { } } +{ 'command': 'foo', 'struct': 'Bar', 'data': { } } |