X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=core%2Fstrings%2Fstrings-tests.factor;h=0fa54fe49e5abf2b08ecd105939e46063ce06597;hp=8ed0c9c264be5816575a946bb49874d4d0f88dbb;hb=714c6d2b9464e193e24cb45fab1961d96a9d422c;hpb=e766b83ac0fcc5857602dcfae2791be3b93602b6 diff --git a/core/strings/strings-tests.factor b/core/strings/strings-tests.factor index 8ed0c9c264..0fa54fe49e 100644 --- a/core/strings/strings-tests.factor +++ b/core/strings/strings-tests.factor @@ -35,8 +35,8 @@ vectors ; { 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