aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-02-16 15:58:34 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-02-26 10:43:56 +0100
commitd23055b8db88a54b372ebbbffe3681169d2a767a (patch)
treed1c9331cc9a6c44000043d8f2b8f03f37b8ca2da /tests
parent56c64dd60aebb9c856ab63de74c9e81acd079436 (diff)
qapi: Require descriptions and tagged sections to be indented
By convention, we indent the second and subsequent lines of descriptions and tagged sections, except for examples. Turn this into a hard rule, and apply it to examples, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240216145841.2099240-11-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> [Straightforward conflicts in qapi/migration.json resolved]
Diffstat (limited to 'tests')
-rw-r--r--tests/qapi-schema/doc-good.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/qapi-schema/doc-good.json b/tests/qapi-schema/doc-good.json
index 0479d16a01..977bb38b6e 100644
--- a/tests/qapi-schema/doc-good.json
+++ b/tests/qapi-schema/doc-good.json
@@ -165,11 +165,11 @@
# Duis aute irure dolor
# Example:
#
-# -> in
-# <- out
+# -> in
+# <- out
# Examples:
-# - *verbatim*
-# - {braces}
+# - *verbatim*
+# - {braces}
# Since: 2.10
##
{ 'command': 'cmd',
@@ -185,9 +185,9 @@
# @cmd-feat2: another feature
# Example:
#
-# -> in
+# -> in
#
-# <- out
+# <- out
##
{ 'command': 'cmd-boxed', 'boxed': true,
'data': 'Object',