diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-03-23 10:40:25 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-03-23 22:31:53 +0100 |
commit | d83b47646ec2bdf4f7be9c2078f1bcbbb0544b2e (patch) | |
tree | 03ea4debaeddf5cf4339facbbcd69e58f30e3a5a /tests/qapi-schema/union-clash-branches.err | |
parent | 407efbf9e776ade8e8d09b778851834f91b225a1 (diff) |
qapi: Enforce union and alternate branch naming rules
Union branch names should use '-', not '_'. Enforce this. The only
offenders are in tests/. Fix them.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-29-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Commit message typo fixed]
Diffstat (limited to 'tests/qapi-schema/union-clash-branches.err')
-rw-r--r-- | tests/qapi-schema/union-clash-branches.err | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/union-clash-branches.err b/tests/qapi-schema/union-clash-branches.err index 73bbc2cabd..ef53645728 100644 --- a/tests/qapi-schema/union-clash-branches.err +++ b/tests/qapi-schema/union-clash-branches.err @@ -1,2 +1,2 @@ union-clash-branches.json: In union 'TestUnion': -union-clash-branches.json:4: branch 'a_b' collides with branch 'a-b' +union-clash-branches.json:6: name of 'data' member 'a_b' must not use uppercase or '_' |