]> gitweb.factorcode.org Git - factor.git/blobdiff - core/strings/strings-tests.factor
core: subseq-index? -> subseq-of?
[factor.git] / core / strings / strings-tests.factor
index 8ed0c9c264be5816575a946bb49874d4d0f88dbb..0fa54fe49e5abf2b08ecd105939e46063ce06597 100644 (file)
@@ -35,8 +35,8 @@ vectors ;
 { f } [ CHAR: I "team" member? ] unit-test
 { t } [ "ea" "team" subseq? ] unit-test
 { f } [ "actore" "Factor" subseq? ] unit-test
 { f } [ CHAR: I "team" member? ] unit-test
 { t } [ "ea" "team" subseq? ] unit-test
 { f } [ "actore" "Factor" subseq? ] unit-test
-{ t } [ "team" "ea" subseq-index? ] unit-test
-{ f } [ "Factor" "actore" subseq-index? ] unit-test
+{ t } [ "team" "ea" subseq-of? ] unit-test
+{ f } [ "Factor" "actore" subseq-of? ] unit-test
 
 { "end" } [ "Beginning and end" 14 tail ] unit-test
 
 
 { "end" } [ "Beginning and end" 14 tail ] unit-test