Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update tests to the new way of defining replacing repositories

  • Loading branch information...
commit e7295dcb8a0e3d327572312658375e3761a13a87 1 parent 1bc325e
@balinterdi balinterdi authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/leiningen/test/deps.clj
View
8 test/leiningen/test/deps.clj
@@ -44,11 +44,11 @@
(is (.contains out (format "[%s \"%s\"]" name version)))))))
(deftest ^:online test-snapshots-releases
- (let [pr (assoc sample-project :omit-default-repositories true
- :repositories {"clojars" {:url "http://clojars.org/repo/"
+ (let [pr (assoc sample-project
+ :repositories ^:replace {"clojars" {:url "http://clojars.org/repo/"
:snapshots false}})
- ps (assoc sample-project :omit-default-repositories true
- :repositories {"clojars" {:url "http://clojars.org/repo/"
+ ps (assoc sample-project
+ :repositories ^:replace {"clojars" {:url "http://clojars.org/repo/"
:releases false}})
slamhound ['slamhound "1.1.0-SNAPSHOT"]
hooke ['robert/hooke "1.0.1"]
Please sign in to comment.
Something went wrong with that request. Please try again.