From: Subramanya Sastry
Date: Fri, 22 Mar 2013 18:36:20 +0000 (-0500)
Subject: New paragraphs wrapping tests in the presence of comments & WS lines.
X-Git-Tag: 1.31.0-rc.0~20244^2
X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=e7422407f7784e604b8c695368ac721b97fc79a3;p=lhc%2Fweb%2Fwiklou.git
New paragraphs wrapping tests in the presence of comments & WS lines.
Change-Id: I3654f28846cce321ea97f70389cabe11b2786082
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 7dcbeed9dc..e28074eeb7 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -164,6 +164,145 @@ baz
!! end
+!! test
+Paragraphs with newline spacing with comment lines in between
+!! input
+----
+a
+
+b
+----
+a
+
+b
+----
+a
+
+
+b
+----
+a
+
+
+b
+----
+a
+
+
+
+b
+----
+a
+
+
+
+b
+----
+!! result
+
+a
+b
+
+
+a
+
b
+
+
+a
+
b
+
+
+a
+
b
+
+
+a
+
+b
+
+
+a
+
+b
+
+
+
+!! end
+
+!! test
+Paragraphs with newline spacing with non-empty white-space lines in between
+!! input
+----
+a
+
+b
+----
+a
+
+
+b
+----
+!! result
+
+a
+
b
+
+
+a
+
+b
+
+
+
+!! end
+
+!! test
+Paragraphs with newline spacing with non-empty mixed comment and white-space lines in between
+!! input
+----
+a
+
+b
+----
+a
+
+b
+----
+a
+
+
+
+b
+----
+a
+
+
+
+
+b
+----
+!! result
+
+a
+b
+
+
+a
+
b
+
+
+a
+
b
+
+
+a
+
+b
+
+
+
+!! end
+
!! test
Parsing an URL
!! input