]> gitweb.factorcode.org Git - factor.git/commitdiff
Fixing some test failures after url.encoding change
authorSlava Pestov <slava@shill.local>
Fri, 10 Jul 2009 00:02:15 +0000 (19:02 -0500)
committerSlava Pestov <slava@shill.local>
Fri, 10 Jul 2009 00:02:15 +0000 (19:02 -0500)
basis/farkup/farkup-tests.factor
basis/http/client/client-tests.factor
basis/http/http-tests.factor

index 7d9c900ec2d9a74a99234dfb7066e01e58479b96..863dc522b2d694de12c3b3cc30ab095b24aa914b 100644 (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
 
index 4f786cb22c195894b461d6e6c6324d90ba89afc7..c391b417a932eaab87c5f3d6bf94009928eb4cda 100644 (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"
index f11aa9eaa232242e0e23d40211723d06c214ed03..3fe5e84abd6762a3cdd781ebbff437392d10041f 100644 (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 [