From: Aryeh Gregor
Date: Thu, 29 Jul 2010 19:09:52 +0000 (+0000)
Subject: Two new parser tests related to bug 6200
X-Git-Tag: 1.31.0-rc.0~35833
X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=01c9645b072f89f7fc38b2e6fb6f4df48da22090;p=lhc%2Fweb%2Fwiklou.git
Two new parser tests related to bug 6200
A patch posted there caused two parser tests for to fail, but
none for , despite making a similar change to both elements.
I've added similar tests for so that they'll fail if a
similar patch is attempted that changes only behavior and
not too.
---
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index bd08eddf3c..12a2cd1980 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -370,6 +370,21 @@ Regression with preformatted in
!! end
+# Expected output in the following test is not really expected (there should be
+# in the output) -- it's only testing for well-formedness.
+!! test
+Bug 6200: Preformatted in
+!! input
+
+ Blah
+
+!! result
+
+ Blah
+
+
+!! end
+
!! test
with attributes (bug 3202)
!! input
@@ -7044,6 +7059,29 @@ __NOEDITSECTION__
!! end
+# Expected output in the following test is not necessarily expected (there
+# should probably be tags inside the
in the output) -- it's
+# only testing for well-formedness.
+!! test
+Bug 6200: blockquotes and paragraph formatting
+!! input
+
+foo
+
+
+bar
+
+ baz
+!! result
+
+foo
+
+bar
+
+baz
+
+!! end
+
!! test
Bug 8293: Use of center tag ruins paragraph formatting
!! input