Fix checkout-deps classpath test.
This commit is contained in:
parent
39b63be344
commit
2aa664b24f
1 changed files with 1 additions and 2 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Reference in a new issue