]> gitweb.factorcode.org Git - factor.git/commitdiff
urls.encoding: make query>assoc docs have checked example.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 4 Nov 2015 23:16:36 +0000 (15:16 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 4 Nov 2015 23:16:36 +0000 (15:16 -0800)
basis/urls/encoding/encoding-docs.factor

index cc0859b8afc2c05b1cf0d697a30b16b5bdf576f9..33cfa70ea78a122ef67d6c8c511c7239e371538e 100644 (file)
@@ -35,11 +35,11 @@ HELP: query>assoc
 { $description "Parses a URL query string and URL-decodes each component." }
 { $notes "This word is used by the implementation of " { $link "urls" } ". It is also used by the HTTP server to parse POST requests." }
 { $examples
-    { $unchecked-example
-        "USING: prettyprint urls.encoding ;"
+    { $example
+        "USING: linked-assocs prettyprint urls.encoding ;"
         "\"gender=female&agefrom=22&ageto=28&location=Omaha+NE\""
         "query>assoc ."
-        "H{
+        "LH{
     { \"gender\" \"female\" }
     { \"agefrom\" \"22\" }
     { \"ageto\" \"28\" }