Updated comment and pre-interaction tests with more cases.
authorSubramanya Sastry <ssastry@wikimedia.org>
Wed, 3 Oct 2012 15:55:16 +0000 (10:55 -0500)
committerSubramanya Sastry <ssastry@wikimedia.org>
Wed, 3 Oct 2012 15:55:40 +0000 (10:55 -0500)
Change-Id: Icb631dd8692e4d169c2599598add30a495ea02d7

tests/parser/parserTests.txt

index 4487110..f9c7f14 100644 (file)
@@ -505,14 +505,30 @@ nowiki 3
 ### Comments
 ###
 !! test
-Comment test 1
+Comments and Pre
 !! input
+<!-- comment 1 --> asdf
+
 <!-- comment 1 --> asdf
 <!-- comment 2 -->
+
+<!-- comment 1 --> asdf
+<!-- comment 2 -->xyz
+
+<!-- comment 1 --> asdf
+<!-- comment 2 --> xyz
 !! result
 <pre>asdf
 </pre>
-
+<pre>asdf
+</pre>
+<pre>asdf
+</pre>
+<p>xyz
+</p>
+<pre>asdf
+xyz
+</pre>
 !! end
 
 !! test