aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/redefined-builtin.err
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-03-23 10:40:11 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-03-23 22:31:05 +0100
commit3e6c8a633113fb6a60369c40cf2061de50727bf6 (patch)
treeb04ba3ff47afa8f1559a3774add4dd299a5232bf /tests/qapi-schema/redefined-builtin.err
parentd4f4cae8de19d2bdfcf09cdc4676e9b99857dcf2 (diff)
downloadqemu-3e6c8a633113fb6a60369c40cf2061de50727bf6.zip
qemu-3e6c8a633113fb6a60369c40cf2061de50727bf6.tar.gz
qemu-3e6c8a633113fb6a60369c40cf2061de50727bf6.tar.bz2
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/redefined-builtin.err')
-rw-r--r--tests/qapi-schema/redefined-builtin.err4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qapi-schema/redefined-builtin.err b/tests/qapi-schema/redefined-builtin.err
index 58c7e42..92bc62d 100644
--- a/tests/qapi-schema/redefined-builtin.err
+++ b/tests/qapi-schema/redefined-builtin.err
@@ -1,2 +1,2 @@
-redefined-builtin.json: In struct 'size':
-redefined-builtin.json:2: built-in type 'size' is already defined
+redefined-builtin.json: In struct 'QType':
+redefined-builtin.json:2: enum type 'QType' is already defined