From 101bc66b2b16d65fc16c576efafcf0e32b7f6553 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 8 Dec 2008 21:32:19 -0600 Subject: [PATCH] add a unit test to io.paths --- basis/io/paths/paths-tests.factor | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 basis/io/paths/paths-tests.factor diff --git a/basis/io/paths/paths-tests.factor b/basis/io/paths/paths-tests.factor new file mode 100644 index 0000000000..01763ce5c0 --- /dev/null +++ b/basis/io/paths/paths-tests.factor @@ -0,0 +1,11 @@ +USING: io.paths kernel tools.test io.files.unique sequences +io.files namespaces sorting ; +IN: io.paths.tests + +[ t ] [ + [ + 10 [ "io.paths.test" "gogogo" make-unique-file* ] replicate + current-directory get t [ ] find-all-files + ] with-unique-directory + [ natural-sort ] bi@ = +] unit-test