From e7422407f7784e604b8c695368ac721b97fc79a3 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Fri, 22 Mar 2013 13:36:20 -0500 Subject: [PATCH] New paragraphs wrapping tests in the presence of comments & WS lines. Change-Id: I3654f28846cce321ea97f70389cabe11b2786082 --- tests/parser/parserTests.txt | 139 +++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) 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 -- 2.20.1