From 91ef29bfcb97090b2b01381424e7d9b905491763 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 19 Jun 2007 15:49:46 +0000 Subject: [PATCH] parser test cases for bug 10309 --- maintenance/parserTests.txt | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) 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 -- 2.20.1