From 0863ed87800a60959e06a3fbcbe240b38bab125e Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 11 Oct 2004 21:47:31 +0000 Subject: [PATCH] Update tests for 289: * fix the expected output to match actual behavior with caught invalid chars * add cases with double-quote (") --- maintenance/parserTests.txt | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) 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 -- 2.20.1