summaryrefslogtreecommitdiff
path: root/test/clarktown/core_test.clj
diff options
context:
space:
mode:
Diffstat (limited to 'test/clarktown/core_test.clj')
-rw-r--r--test/clarktown/core_test.clj5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/clarktown/core_test.clj b/test/clarktown/core_test.clj
index c4b5ee1..27cfa1e 100644
--- a/test/clarktown/core_test.clj
+++ b/test/clarktown/core_test.clj
@@ -1,10 +1,11 @@
(ns clarktown.core-test
(:require
[clojure.test :refer [deftest testing is]]
+ [clojure.java.io :as io]
[clarktown.core :as core]))
(deftest overall-test
(testing "Overall"
- (is (= (core/render (slurp "./resources/test/core.md"))
- (slurp "./resources/test/core_result.html"))))) \ No newline at end of file
+ (is (= (core/render (slurp (io/file (io/resource "test/core.md"))))
+ (slurp (io/file (io/resource "test/core_result.html"))))))) \ No newline at end of file