]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/combinators/extras/extras-tests.factor
core: Add words/unwords/unwords-as and use them.
[factor.git] / extra / combinators / extras / extras-tests.factor
index 3df67e01efdbee48bc137e8a9b473e86386d2ce9..50fed8261c774142d8bfb359a3a2e852ed01de41 100644 (file)
@@ -66,5 +66,5 @@ splitting tools.test ;
 { f } [ H{ { 1 H{ { 3 4 } } } } { [ 1 of ] [ 2 of ] } chain ] unit-test
 { f } [ H{ { 2 H{ { 3 4 } } } } { [ 1 of ] [ 2 of ] } chain ] unit-test
 { 5 } [
-    "hello factor!" { [ " " split ] [ first ] [ length ] } chain
+    "hello factor!" { [ words ] [ first ] [ length ] } chain
 ] unit-test