diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-03-23 10:40:19 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-03-23 22:31:05 +0100 |
commit | 9af4b6b9e80daeab2ce47664ff422b5e421814de (patch) | |
tree | 79a697437e154779da2008eac0299bf90e5d32e5 /tests/qapi-schema/args-member-case.err | |
parent | 6e2e12a70c0b7f7fe71a7938b9c49bdaa608ce58 (diff) |
qapi: Prepare for rejecting underscore in command and member names
Command names and member names within a type should be all lower case
with words separated by a hyphen. We also accept underscore. Rework
check_name_lower() to optionally reject underscores, but don't use
that option, yet.
Update expected test output for the changed error message.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-23-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/args-member-case.err')
-rw-r--r-- | tests/qapi-schema/args-member-case.err | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/args-member-case.err b/tests/qapi-schema/args-member-case.err index 4f33dbbc38..25c3910a17 100644 --- a/tests/qapi-schema/args-member-case.err +++ b/tests/qapi-schema/args-member-case.err @@ -1,2 +1,2 @@ args-member-case.json: In command 'no-way-this-will-get-whitelisted': -args-member-case.json:2: 'data' member 'Arg' uses uppercase in name +args-member-case.json:2: name of 'data' member 'Arg' must not use uppercase or '_' |