]> gitweb.factorcode.org Git - factor.git/commitdiff
checksums.process: change docs to use $unchecked-example.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 20 Sep 2016 14:04:59 +0000 (07:04 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 20 Sep 2016 14:04:59 +0000 (07:04 -0700)
extra/checksums/process/process-docs.factor

index 847a63771236c9a7f1cb29077feb12390c719627..422165a753f14f420e6d58db66a49cefbe5a1d95 100644 (file)
@@ -13,14 +13,14 @@ $nl
 $nl
 "The " { $link checksum-bytes } " and the " { $link checksum-stream } " methods encapsulate the above protocol, including instantiation and disposal of the " { $link process-state } " tuple."
 { $examples
-    { $example "USING: byte-arrays checksums checksums.process ;"
+    { $unchecked-example "USING: byte-arrays checksums checksums.process ;"
     "\"test\" >byte-array \"sha1sum\" <checksum-process> checksum-bytes ."
     "B{
     169 74 143 229 204 177 155 166 28 76 8 115 211 145 233 135
     152 47 187 211
 }" }
     $nl
-    { $example "USING: checksums checksums.common checksums.process"
+    { $unchecked-example "USING: checksums checksums.common checksums.process"
     "io io.encodings.binary namespaces ;"
     "\"LICENSE.txt\" binary ["
     "    input-stream get \"sha1sum\" <checksum-process> checksum-stream"