Fixing some test failures after url.encoding change

db4
Slava Pestov 2009-07-09 19:02:15 -05:00
parent ac5d61d38d
commit c4f4c6749f
3 changed files with 5 additions and 1 deletions

View File

@ -128,7 +128,7 @@ link-no-follow? off
[ "<p><a href=\"a\">a</a> <a href=\"b\">c</a></p>" ] [ "[[a]] [[b|c]]" convert-farkup ] unit-test
[ "<p><a href=\"C%2b%2b\">C++</a></p>" ] [ "[[C++]]" convert-farkup ] unit-test
[ "<p><a href=\"C%2B%2B\">C++</a></p>" ] [ "[[C++]]" convert-farkup ] unit-test
[ "<p>&lt;foo&gt;</p>" ] [ "<foo>" convert-farkup ] unit-test

View File

@ -16,6 +16,7 @@ namespaces urls ;
{ version "1.1" }
{ cookies V{ } }
{ header H{ { "connection" "close" } { "user-agent" "Factor http.client" } } }
{ redirects 10 }
}
] [
"http://www.apple.com/index.html"
@ -29,6 +30,7 @@ namespaces urls ;
{ version "1.1" }
{ cookies V{ } }
{ header H{ { "connection" "close" } { "user-agent" "Factor http.client" } } }
{ redirects 10 }
}
] [
"https://www.amazon.com/index.html"

View File

@ -33,6 +33,7 @@ blah
{ header H{ { "some-header" "1; 2" } { "content-length" "4" } { "content-type" "application/octet-stream" } } }
{ post-data T{ post-data { data "blah" } { content-type "application/octet-stream" } } }
{ cookies V{ } }
{ redirects 10 }
}
] [
read-request-test-1 lf>crlf [
@ -70,6 +71,7 @@ Host: www.sex.com
{ version "1.1" }
{ header H{ { "host" "www.sex.com" } } }
{ cookies V{ } }
{ redirects 10 }
}
] [
read-request-test-2 lf>crlf [