From: Brion Vibber Date: Tue, 19 Jun 2007 15:49:46 +0000 (+0000) Subject: parser test cases for bug 10309 X-Git-Tag: 1.31.0-rc.0~52497 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=91ef29bfcb97090b2b01381424e7d9b905491763;p=lhc%2Fweb%2Fwiklou.git parser test cases for bug 10309 --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 8577cc0694..aec80cbd7e 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -5832,6 +5832,47 @@ section=1 a !! end + +!! test +Section extraction,
 around bogus header (bug 10309)
+!! options
+noxml section=2
+!! input
+== Section One ==
+
+=======
+
+ +== Section Two == +stuff +!! result +== Section Two == +stuff +!! end + +!! test +Section replacement,
 around bogus header (bug 10309)
+!! options
+noxml replace=2,"xxx"
+!! input
+== Section One ==
+
+=======
+
+ +== Section Two == +stuff +!! result +== Section One == +
+=======
+
+ +xxx +!! end + + + !! test Handling of in URLs !! input