Skip to content

Commit

Permalink
docs/devel/testing.rst: add missing newlines after code block
Browse files Browse the repository at this point in the history
The line immediate following a ".. code::" block is considered
to contains arguments to the "code directive".  The lack of a
new line gives me during at parse time:

   testing.rst:63: (ERROR/3) Error in "code" directive:
   maximum 1 argument(s) allowed, 3 supplied.

   .. code::
     make check-unit V=1

   testing.rst:120: (ERROR/3) Error in "code" directive:
   maximum 1 argument(s) allowed, 3 supplied.

   .. code::
     make check-qtest V=1

Let's add the missing newlines, both for consistency and to
avoid the parsing errors.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20181004161852.11673-6-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
  • Loading branch information
clebergnu authored and vivier committed Oct 26, 2018
1 parent 49cedf1 commit 9297081
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/devel/testing.rst
Expand Up @@ -59,6 +59,7 @@ variable (which affects memory reclamation and catches invalid pointers better)
and gtester options. If necessary, you can run

.. code::
make check-unit V=1
and copy the actual command line which executes the unit test, then run
Expand Down Expand Up @@ -116,6 +117,7 @@ and using gdb on the test is still simple to do: find out the actual command
from the output of

.. code::
make check-qtest V=1
which you can run manually.
Expand Down

0 comments on commit 9297081

Please sign in to comment.