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]
Showing
- scripts/qapi/expr.py 2 additions, 2 deletionsscripts/qapi/expr.py
- tests/qapi-schema/alternate-clash.err 1 addition, 1 deletiontests/qapi-schema/alternate-clash.err
- tests/qapi-schema/alternate-clash.json 4 additions, 2 deletionstests/qapi-schema/alternate-clash.json
- tests/qapi-schema/qapi-schema-test.json 1 addition, 1 deletiontests/qapi-schema/qapi-schema-test.json
- tests/qapi-schema/qapi-schema-test.out 2 additions, 2 deletionstests/qapi-schema/qapi-schema-test.out
- tests/qapi-schema/union-clash-branches.err 1 addition, 1 deletiontests/qapi-schema/union-clash-branches.err
- tests/qapi-schema/union-clash-branches.json 4 additions, 2 deletionstests/qapi-schema/union-clash-branches.json
Please register or sign in to comment