Skip to content

Commit 5bc4413

Browse files
committed
Unflake a test
1 parent 71cd95e commit 5bc4413

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/orchard/java/resource_test.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
(deftest project-resources-test
1010
(testing "get the correct resources for the orchard project"
11-
(let [resources (resource/project-resources)]
11+
(let [resources (->> (resource/project-resources)
12+
(filter (fn [{:keys [relpath]}]
13+
(= relpath "clojuredocs/test_export.edn"))))]
1214
(is (= "clojuredocs/test_export.edn" (-> resources first :relpath)))
1315
(is (= java.net.URL (-> resources first :url class))))))

0 commit comments

Comments
 (0)