]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/persistent/hashtables/hashtables-tests.factor
factor: use new math.ranges syntax in tests and docs
[factor.git] / basis / persistent / hashtables / hashtables-tests.factor
index 9fcd4de9b9acff50cce9809841141e59736c9a2e..3f42003e89c46506cf963d62bf5dd58c8c7490bc 100644 (file)
@@ -82,7 +82,7 @@ M: hash-0-b hashcode* 2drop 0 ;
 
 : random-string ( -- str )
     1000000 random ;
-    ! [ CHAR: a CHAR: z [a,b] random ] "" replicate-as ;
+    ! [ CHAR: a CHAR: z [a..b] random ] "" replicate-as ;
 
 : random-assocs ( n -- hash phash )
     [ random-string ] replicate