Permalink
Browse files

Fix classpath test.

  • Loading branch information...
1 parent b4cc0f9 commit 799bf696d34923f1dab93ab2b7d10e4cf4f9fee0 @technomancy committed Dec 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 leiningen-core/test/leiningen/core/test/classpath.clj
@@ -17,7 +17,7 @@
(io/file (System/getProperty "user.home") ".m2" "repository" f))
(def project {:dependencies '[[org.clojure/clojure "1.3.0"]
- [ring/ring-core "1.0.0-RC1"
+ [ring/ring-core "1.0.0"
:exclusions [commons-codec]]]
:checkout-deps-shares [:source-paths :resource-paths :compile-path]
:repositories (:repositories project/defaults)
@@ -33,7 +33,7 @@
(is (= #{(m2-file "org/clojure/clojure/1.3.0/clojure-1.3.0.jar")
(m2-file "commons-io/commons-io/1.4/commons-io-1.4.jar")
(m2-file "javax/servlet/servlet-api/2.5/servlet-api-2.5.jar")
- (m2-file "ring/ring-core/1.0.0-RC1/ring-core-1.0.0-RC1.jar")
+ (m2-file "ring/ring-core/1.0.0/ring-core-1.0.0.jar")
(m2-file (str "commons-fileupload/commons-fileupload/1.2.1/"
"commons-fileupload-1.2.1.jar"))}
(set (resolve-dependencies :dependencies project)))))
@@ -42,7 +42,7 @@
(doseq [f (reverse (file-seq (io/file (:root project))))]
(when (.exists f) (io/delete-file f)))
(is (= '{[org.clojure/clojure "1.3.0"] nil
- [ring/ring-core "1.0.0-RC1"
+ [ring/ring-core "1.0.0"
:exclusions [[commons-codec]]]
{[commons-fileupload "1.2.1"] nil
[commons-io "1.4"] nil
@@ -57,7 +57,7 @@
(def libs
#{(str (m2-file "commons-io/commons-io/1.4/commons-io-1.4.jar"))
(str (m2-file "javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"))
- (str (m2-file "ring/ring-core/1.0.0-RC1/ring-core-1.0.0-RC1.jar"))
+ (str (m2-file "ring/ring-core/1.0.0/ring-core-1.0.0.jar"))
(str (m2-file "commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar"))
(str (m2-file "org/clojure/clojure/1.3.0/clojure-1.3.0.jar"))})

0 comments on commit 799bf69

Please sign in to comment.