]> gitweb.factorcode.org Git - factor.git/commitdiff
io.directories.search: fix a couple of examples
authorKeita Haga <keitahaga@mail.com>
Wed, 22 Dec 2010 20:15:20 +0000 (05:15 +0900)
committerKeita Haga <keitahaga@mail.com>
Wed, 22 Dec 2010 20:15:20 +0000 (05:15 +0900)
basis/io/directories/search/search-docs.factor

index 4f7e0ba212c3b8005e8908c52eda4e9367ccaa47..de61aeaf0bc1541c751a86366fdef2a0eb3572b4 100644 (file)
@@ -64,7 +64,7 @@ HELP: find-by-extension
 }
 { $description "Searches a directory for all files with the given extension. File extension and filenames are converted to lower-case and compared using the " { $link tail? } " word. The file extension should contain the period." }
 { $examples
-    { $unchecked-example
+    { $code
         "USING: io.directories.search ;"
         "\"/\" \".mp3\" find-by-extension"
     }
@@ -77,7 +77,7 @@ HELP: find-by-extensions
 }
 { $description "Searches a directory for all files in the given list of extensions. File extensions and filenames are converted to lower-case and compared using the " { $link tail? } " word. File extensions should contain the period." }
 { $examples
-    { $unchecked-example
+    { $code
         "USING: io.directories.search ;"
         "\"/\" { \".jpg\" \".gif\" \".tiff\" \".png\" \".bmp\" } find-by-extensions"
     }