From e0e58939694c085c04518816d03b98b03407e6ce Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Fri, 14 Mar 2014 13:41:04 -0400 Subject: [PATCH] Sync up with Parsoid parserTests. This now aligns with Parsoid commit d6ebbd78101c6191e213e46838582d00f37c3bbb Change-Id: I4fd04ac2bf4cd7a4fc195ad615e9940f4ddb29a5 --- tests/parser/parserTests.txt | 6249 ++++++++++++++++------------------ 1 file changed, 3000 insertions(+), 3249 deletions(-) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 4f85b9ff8b..9cea15637f 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -157,23 +157,23 @@ Template:OpenTable ### !! test Blank input -!! input -!! result +!! wikitext +!! html !! end !! test Simple paragraph -!! input +!! wikitext This is a simple paragraph. -!! result +!! html

This is a simple paragraph.

!! end !! test Paragraphs with extra newline spacing -!! input +!! wikitext foo bar @@ -184,7 +184,7 @@ baz booz -!! result +!! html

foo

bar


@@ -196,7 +196,7 @@ baz !! test Paragraphs with newline spacing with comment lines in between -!! input +!! wikitext ---- a @@ -232,7 +232,7 @@ a b ---- -!! result +!! html


a b @@ -269,7 +269,7 @@ b !! test Paragraphs with newline spacing with non-empty white-space lines in between -!! input +!! wikitext ---- a @@ -280,7 +280,7 @@ a b ---- -!! result +!! html


a

b @@ -296,7 +296,7 @@ b !! test Paragraphs with newline spacing with non-empty mixed comment and white-space lines in between -!! input +!! wikitext ---- a @@ -319,7 +319,7 @@ a b ---- -!! result +!! html


a b @@ -343,13 +343,13 @@ b !! test Extra newlines: More paragraphs with indented comment -!! input +!! wikitext a b -!!result +!! html

a


b @@ -358,7 +358,7 @@ b !! test Extra newlines followed by heading -!! input +!! wikitext a @@ -368,7 +368,7 @@ a =b= -!! result +!! html

a


@@ -382,13 +382,13 @@ a !! test Extra newlines between heading and content are swallowed -!! input +!! wikitext =b= [[a]] -!! result +!! html

b[edit]

a

@@ -396,20 +396,20 @@ Extra newlines between heading and content are swallowed !! test Parsing an URL -!! input +!! wikitext http://fr.wikipedia.org/wiki/🍺 -!! result +!! html

http://fr.wikipedia.org/wiki/🍺

!! end !! test Simple list -!! input +!! wikitext * Item 1 * Item 2 -!! result +!! html