From 16984044d2790b079f675ae58138c2452b6d4383 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 7 Feb 2020 18:02:16 +0100 Subject: [PATCH] fix test --- test/cryogen_core/classpath_able_io/fs_test.clj | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/cryogen_core/classpath_able_io/fs_test.clj b/test/cryogen_core/classpath_able_io/fs_test.clj index 3ded575..cb8e0f6 100644 --- a/test/cryogen_core/classpath_able_io/fs_test.clj +++ b/test/cryogen_core/classpath_able_io/fs_test.clj @@ -38,11 +38,13 @@ (sut/create-resource "dummy" (sut/path-if-exists fs-root "dummy"))))))) (deftest test-get-resources - ;(is - ; (= [{:virtual-path "dummy" :source-type :filesystem :resource-type :dir} - ; {:virtual-path "dummy/dummy_from_fs" :source-type :filesystem :resource-type :file}] - ; (map ftt/filter-object - ; (sut/get-resources fs-root "" ["dummy"])))) + (is + (= [{:virtual-path "dummy" :source-type :filesystem :resource-type :dir} + {:virtual-path "dummy/dummy_from_fs" :source-type :filesystem :resource-type :file} + {:virtual-path "dummy/dummy2" :source-type :filesystem :resource-type :dir} + {:virtual-path "dummy/dummy2/dummy_common" :source-type :filesystem :resource-type :file}] + (map ftt/filter-object + (sut/get-resources fs-root "" ["dummy"])))) (is (= [{:virtual-path "dummy_from_fs" :source-type :filesystem :resource-type :file}] (map ftt/filter-object