]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/imap/imap-tests.factor
factor: use new math.ranges syntax in tests and docs
[factor.git] / extra / imap / imap-tests.factor
index 41f160be04b80dde9759c213e0759d6cf4f6bc81..d9b7231c7b827f18afe3b9f7d4fa9a3ef715fb35 100644 (file)
@@ -7,7 +7,7 @@ FROM: pcre => findall ;
 IN: imap.tests
 
 : random-ascii ( n -- str )
-    [ CHAR: a CHAR: z [a,b] random ] "" replicate-as ;
+    [ CHAR: a CHAR: z [a..b] random ] "" replicate-as ;
 
 : make-mail ( from -- mail )
     now timestamp>rfc822 swap 10000 random