Fix checkout-deps classpath test.

This commit is contained in:
Phil Hagelberg 2012-01-12 17:07:40 -08:00
parent 39b63be344
commit 2aa664b24f

View file

@ -47,8 +47,7 @@
(try (try
(.mkdirs d1) (.mkdirs d1)
(spit (io/file d1 "project.clj") (spit (io/file d1 "project.clj")
(pr-str '(def project {:source-path ["src"] :compile-path "classes" (pr-str '(defproject hello "1.0")))
:resources-path ["resources"]})))
(is (= (for [path ["src" "resources" "classes"]] (is (= (for [path ["src" "resources" "classes"]]
(format "/tmp/lein-sample-project/checkouts/d1/%s" path)) (format "/tmp/lein-sample-project/checkouts/d1/%s" path))
(#'leiningen.core.classpath/checkout-deps-paths project))) (#'leiningen.core.classpath/checkout-deps-paths project)))