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

login
register
mail settings
Submitter Simon Heimberg
Date Nov. 2, 2013, 11:36 a.m.
Message ID <d30798f0059bb39d8b03.1383392165@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/2843/
State Superseded, archived
Headers show

Comments

Simon Heimberg - Nov. 2, 2013, 11:36 a.m.
# HG changeset patch
# User Simon Heimberg <simohe@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.

Patch

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