]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix sequences.deep tests
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 24 Nov 2008 06:52:40 +0000 (00:52 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 24 Nov 2008 06:52:40 +0000 (00:52 -0600)
basis/sequences/deep/deep-tests.factor

index a88634aa8af20010c3705fcbdb3fdbb936c919a2..522b5ecdf95a5f60472ba3773b327d4f8a0ee98d 100644 (file)
@@ -4,11 +4,11 @@ IN: sequences.deep.tests
 
 [ [ "hello" 3 4 swap ] ] [ [ { "hello" V{ 3 4 } } swap ] flatten ] unit-test
 
-[ "foo" t ] [ { { "foo" } "bar" } [ string? ] deep-find-from ] unit-test
+[ "foo" t ] [ { { "foo" } "bar" } [ string? ] (deep-find) ] unit-test
 
-[ f f ] [ { { "foo" } "bar" } [ number? ] deep-find-from ] unit-test
+[ f f ] [ { { "foo" } "bar" } [ number? ] (deep-find) ] unit-test
 
-[ { { "foo" } "bar" } t ] [ { { "foo" } "bar" } [ array? ] deep-find-from ] unit-test
+[ { { "foo" } "bar" } t ] [ { { "foo" } "bar" } [ array? ] (deep-find) ] unit-test
 
 : change-something ( seq -- newseq )
     dup array? [ "hi" suffix ] [ "hello" append ] if ;