Skip to content

Commit

Permalink
Update the integration spec
Browse files Browse the repository at this point in the history
* nrepl/bencode and tools.logging were removed from nREPL
* it seems that Maven has changed its artifact download URLs
  • Loading branch information
bbatsov committed Apr 8, 2020
1 parent f922224 commit 0eb4952
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions spec/reply/integration_spec.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,12 @@
;; TODO: this is easy but seems like wasted effort
;; probably better to use pomegranate
(def nrepl
{:local-path "spec/nrepl-0.4.5.jar"
:remote-url "https://clojars.org/repo/nrepl/nrepl/0.4.5/nrepl-0.4.5.jar"})

(def bencode
{:local-path "spec/bencode-1.0.0.jar"
:remote-url "https://clojars.org/repo/nrepl/bencode/1.0.0/bencode-1.0.0.jar"})

(def logging
{:local-path "spec/tools.logging-0.4.1.jar"
:remote-url "http://central.maven.org/maven2/org/clojure/tools.logging/0.4.1/tools.logging-0.4.1.jar"})
{:local-path "spec/nrepl-0.7.0.jar"
:remote-url "https://clojars.org/repo/nrepl/nrepl/0.7.0/nrepl-0.7.0.jar"})

(def clojure
{:local-path "spec/clojure-1.6.0.jar"
:remote-url "http://repo1.maven.org/maven2/org/clojure/clojure/1.6.0/clojure-1.6.0.jar"})
{:local-path "spec/clojure-1.7.0.jar"
:remote-url "https://search.maven.org/artifact/org.clojure/clojure/1.7.0/jar"})

(defn ensure-test-jar [{:keys [local-path remote-url]}]
(let [file (java.io.File. local-path)]
Expand All @@ -42,8 +34,6 @@
(io/copy in out)))))

(ensure-test-jar clojure)
(ensure-test-jar logging)
(ensure-test-jar bencode)
(ensure-test-jar nrepl)

(describe "standalone mode"
Expand Down

0 comments on commit 0eb4952

Please sign in to comment.