]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/alien/libraries/finder/linux/linux-tests.factor
core: subseq-index? -> subseq-of?
[factor.git] / basis / alien / libraries / finder / linux / linux-tests.factor
index 3b5bc2cb39d249456607afbfc14f4ea27234ece4..d23a40bc3cccb9e8bde97b35f9a3270490d0e51f 100644 (file)
@@ -1,10 +1,4 @@
-USING: alien.libraries.finder sequences tools.test
-alien.libraries.finder.linux.private ;
-IN: alien.libraries.finder.linux
+USING: alien.libraries.finder sequences tools.test ;
 
-{ t } [ "libm.so" "m" find-library subseq? ] unit-test
-{ t } [ "libc.so" "c" find-library subseq? ] unit-test
-
-{ t } [ "libSDL" { "libSDL-1.2.so.0" f f } name-matches? ] unit-test
-{ t } [ "libSDL-1" { "libSDL-1.2.so.0" f f } name-matches? ] unit-test
-{ t } [ "libSDL-1.2" { "libSDL-1.2.so.0" f f } name-matches? ] unit-test
+{ t } [ "m" find-library "libm.so" subseq-of? ] unit-test
+{ t } [ "c" find-library "libc.so" subseq-of? ] unit-test