From: Brion Vibber
Date: Mon, 11 Oct 2004 18:12:14 +0000 (+0000)
Subject: Add more test cases for bug 289
X-Git-Tag: 1.5.0alpha1~1590
X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=f310402512eb0f7634905593f93fadf9756b03db;p=lhc%2Fweb%2Fwiklou.git
Add more test cases for bug 289
---
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index 00d1ef8900..d47603f8a5 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -516,6 +516,33 @@ http://www.example.com/
!!end
+!! test
+BUG 289: literal ">"-token in URL-tail
+!! input
+http://www.example.com/html
+!! result
+http://www.example.com/html
+
+!!end
+
+!! test
+BUG 289: ">"-token in bracketed URL
+!! input
+[http://www.example.com/ stuff]
+!! result
+[http://www.example.com/<hello> stuff]
+
+!!end
+
+!! test
+BUG 289: literal ">"-token in bracketed URL
+!! input
+[http://www.example.com/html stuff]
+!! result
+[http://www.example.com/html stuff]
+
+!!end
+
###
### Quotes
###