diff options
author | Markus Armbruster | 2019-09-27 15:46:19 +0200 |
---|---|---|
committer | Markus Armbruster | 2019-09-28 17:17:18 +0200 |
commit | 2ab218aad6e2ddf4e95a7d583492ad7142927ca5 (patch) | |
tree | b82af5da4882aff7c4435e7afb9d9f8ac55c977d /tests/qapi-schema/flat-union-inline-invalid-dict.err | |
parent | qapi: Clean up member name case checking (diff) | |
download | qemu-2ab218aad6e2ddf4e95a7d583492ad7142927ca5.tar.gz qemu-2ab218aad6e2ddf4e95a7d583492ad7142927ca5.tar.xz qemu-2ab218aad6e2ddf4e95a7d583492ad7142927ca5.zip |
qapi: Change frontend error messages to start with lower case
Starting error messages with a capital letter complicates things when
text can get interpolated both at the beginning and in the middle of
an error message. The next patch will do that. Switch to lower case
to keep it simpler.
For what it's worth, the GNU Coding Standards advise the message
"should not begin with a capital letter when it follows a program name
and/or file name, because that isn’t the beginning of a sentence. (The
sentence conceptually starts at the beginning of the line.)"
While there, avoid breaking lines containing multiple arguments in the
middle of an argument.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190927134639.4284-7-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-inline-invalid-dict.err')
-rw-r--r-- | tests/qapi-schema/flat-union-inline-invalid-dict.err | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/flat-union-inline-invalid-dict.err b/tests/qapi-schema/flat-union-inline-invalid-dict.err index 3716c02a9b..85739c2733 100644 --- a/tests/qapi-schema/flat-union-inline-invalid-dict.err +++ b/tests/qapi-schema/flat-union-inline-invalid-dict.err @@ -1,2 +1,2 @@ tests/qapi-schema/flat-union-inline-invalid-dict.json: In union 'TestUnion': -tests/qapi-schema/flat-union-inline-invalid-dict.json:7: Key 'type' is missing from member 'value1' of union 'TestUnion' +tests/qapi-schema/flat-union-inline-invalid-dict.json:7: key 'type' is missing from member 'value1' of union 'TestUnion' |