[PATCH 5 of 8] tests: modify minirst test input to new format

Simon Heimberg simohe at besonet.ch
Tue Nov 5 02:06:36 CST 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1383556986 -3600
#      Mon Nov 04 10:23:06 2013 +0100
# Branch stable
# Node ID 9f4702c086e27b4b99c123e798526b4daab10005
# Parent  b3e86f657b1445828666bff219d2f1c55ae91ef9
tests: modify minirst test input to new format

Modifying the test input data shows the effects of the last patches.
In text output nothing has changed.
In html output the title has moved on its own line.

diff -r b3e86f657b14 -r 9f4702c086e2 tests/test-minirst.py
--- a/tests/test-minirst.py	Mon Nov 04 10:23:06 2013 +0100
+++ b/tests/test-minirst.py	Mon Nov 04 10:23:06 2013 +0100
@@ -202,6 +202,7 @@
 
 admonitions = """
 .. note::
+
    This is a note
 
    - Bullet 1
diff -r b3e86f657b14 -r 9f4702c086e2 tests/test-minirst.py.out
--- a/tests/test-minirst.py.out	Mon Nov 04 10:23:06 2013 +0100
+++ b/tests/test-minirst.py.out	Mon Nov 04 10:23:06 2013 +0100
@@ -683,7 +683,10 @@
 html format:
 ----------------------------------------------------------------------
 <p>
-<b>Note:</b> This is a note
+<b>Note:</b> 
+</p>
+<p>
+This is a note
 </p>
 <ul>
  <li> Bullet 1


More information about the Mercurial-devel mailing list