X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Funicode%2Fbreaks%2Fbreaks-tests.factor;fp=basis%2Funicode%2Fbreaks%2Fbreaks-tests.factor;h=2fef15c601d223d29e2762c192c65a67f4746bbb;hp=c0954f35450c870a5b6fb7b6b0fb6fa1e5a1122e;hb=e20bf9b97fe60ebe18b8972b2b56fe681fce64a8;hpb=db559f6f98522594be8ef9a9392fb6d95fab3abe diff --git a/basis/unicode/breaks/breaks-tests.factor b/basis/unicode/breaks/breaks-tests.factor index c0954f3545..2fef15c601 100644 --- a/basis/unicode/breaks/breaks-tests.factor +++ b/basis/unicode/breaks/breaks-tests.factor @@ -1,6 +1,6 @@ -USING: tools.test unicode sequences math http.client kernel -splitting unicode.categories io.pathnames io.encodings.utf8 -io.files io.files.temp strings quotations math.parser locals ; +USING: http.download io.encodings.utf8 io.files io.files.temp +kernel math.parser quotations sequences splitting strings +tools.test unicode ; IN: unicode.breaks.tests { "\u001112\u001161\u0011abA\u000300a\r\r\n" } @@ -21,11 +21,11 @@ IN: unicode.breaks.tests : grapheme-break-test ( -- filename ) "https://downloads.factorcode.org/misc/UCD/15.1.0/auxiliary/GraphemeBreakTest.txt" - "GraphemeBreakTest-15.1.0.txt" cache-file [ ?download-to ] keep ; + "GraphemeBreakTest-15.1.0.txt" cache-file download-to ; : word-break-test ( -- filename ) "https://downloads.factorcode.org/misc/UCD/15.1.0/auxiliary/WordBreakTest.txt" - "WordBreakTest-15.1.0.txt" cache-file [ ?download-to ] keep ; + "WordBreakTest-15.1.0.txt" cache-file download-to ; : parse-test-file ( file-name -- tests ) utf8 file-lines