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

Simon Heimberg simohe at besonet.ch
Sat Nov 2 06:36:05 CDT 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1383387952 -3600
#      Sat Nov 02 11:25:52 2013 +0100
# Branch stable
# Node ID d30798f0059bb39d8b0325aba95a687596a252b0
# Parent  59763c10f53c0494f6364536001112164ac1b2fc
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 59763c10f53c -r d30798f0059b tests/test-minirst.py
--- a/tests/test-minirst.py	Sat Nov 02 11:25:52 2013 +0100
+++ b/tests/test-minirst.py	Sat Nov 02 11:25:52 2013 +0100
@@ -202,6 +202,7 @@
 
 admonitions = """
 .. note::
+
    This is a note
 
    - Bullet 1
diff -r 59763c10f53c -r d30798f0059b tests/test-minirst.py.out
--- a/tests/test-minirst.py.out	Sat Nov 02 11:25:52 2013 +0100
+++ b/tests/test-minirst.py.out	Sat Nov 02 11:25:52 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