adding test cases for bug 42353, code will be submitted in a separate review for...
authorjeff303 <wayne.mokane+github@gmail.com>
Sat, 23 Mar 2013 18:06:13 +0000 (14:06 -0400)
committerjeff303 <wayne.mokane+github@gmail.com>
Sat, 23 Mar 2013 18:07:17 +0000 (14:07 -0400)
Change-Id: I79f51608d70ce70570ccabd7ecfba75e7852a897

tests/parser/parserTests.txt

index e28074e..4a15470 100644 (file)
@@ -14060,6 +14060,26 @@ parsoid
 
 !! end
 
+!! test
+Parsoid-only: Don't wrap broken template tags in <nowiki> on wt2wt (Bug 42353)
+!! options
+parsoid
+!! input
+{{}}
+!! result
+{{}}
+!! end
+
+!! test
+Parsoid-only: Don't wrap broken template tags in <nowiki> on wt2wt (Bug 42353)
+!! options
+parsoid
+!! input
+}}{{
+!! result
+}}{{
+!! end
+
 !!test
 Accept empty td cell attribute
 !!input