From: Brion Vibber Date: Mon, 11 Oct 2004 21:47:31 +0000 (+0000) Subject: Update tests for 289: X-Git-Tag: 1.5.0alpha1~1580 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=0863ed87800a60959e06a3fbcbe240b38bab125e;p=lhc%2Fweb%2Fwiklou.git Update tests for 289: * fix the expected output to match actual behavior with caught invalid chars * add cases with double-quote (") --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index d47603f8a5..9a08e73d03 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -530,7 +530,7 @@ BUG 289: ">"-token in bracketed URL !! input [http://www.example.com/ stuff] !! result -

[http://www.example.com/<hello> stuff] +

<hello> stuff (http://www.example.com/)

!!end @@ -539,7 +539,25 @@ BUG 289: literal ">"-token in bracketed URL !! input [http://www.example.com/html stuff] !! result -

[http://www.example.com/html stuff] +

html stuff (http://www.example.com/) +

+!!end + +!! test +BUG 289: literal double quote at end of URL +!! input +http://www.example.com/"hello" +!! result +

http://www.example.com/"hello" +

+!!end + +!! test +BUG 289: literal double quote in bracketed URL +!! input +[http://www.example.com/"hello" stuff] +!! result +

"hello" stuff (http://www.example.com/)

!!end