File tree Expand file tree Collapse file tree 4 files changed +12
-19
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ commands:
55
55
files :
56
56
description : Files to consider when creating the cache key
57
57
type : string
58
- default : " deps.edn project.clj build.boot "
58
+ default : " deps.edn project.clj"
59
59
cache_version :
60
60
type : string
61
61
description : " Change this value to force a cache update"
Original file line number Diff line number Diff line change 2
2
3
3
== Prerequisites
4
4
5
- `cider-nrepl` supports only Clojure(Script) 1.9 + and Java 8+.
5
+ `cider-nrepl` supports only Clojure(Script) 1.10 + and Java 8+.
6
6
7
7
Leiningen users will need to have version 2.8.3 or newer installed.
8
- Boot users will need to have version 2.8.2 or newer installed.
9
8
10
9
== Via Leiningen
11
10
Original file line number Diff line number Diff line change 105
105
:jvm-opts [" -Djava.util.logging.config.file=test/resources/logging.properties"
106
106
" -Dcider.internal.testing=true" ]
107
107
:resource-paths [" test/resources" ]
108
- :dependencies [[boot/base " 2.8.3" ]
109
- [boot/core " 2.8.3" :exclusions [org.tcrawley/dynapath]]
110
- ; ; 1.3.7 and 1.4.7 are working, but we need 1.3.7 for JDK8
108
+ :dependencies [; ; 1.3.7 and 1.4.7 are working, but we need 1.3.7 for JDK8
111
109
[ch.qos.logback/logback-classic " 1.3.7" ]
112
110
[org.clojure/test.check " 1.1.1" ]
113
111
[org.apache.httpcomponents/httpclient " 4.5.14" :exclusions [commons-logging]]
179
177
:eastwood [:test
180
178
{:plugins [[jonase/eastwood " 1.4.0" ]]
181
179
:eastwood {:config-files [" eastwood.clj" ]
182
- :exclude-namespaces [cider.nrepl.middleware.test-filter-tests]
180
+ :exclude-namespaces [cider.nrepl.middleware.test-filter-tests cider.tasks ]
183
181
:ignored-faults {:unused-ret-vals-in-try {cider.nrepl.middleware.profile-test [{:line 25 }]}
184
182
:suspicious-test {cider.nrepl.middleware.profile-test [{:line 25 }]}}}}]
185
183
Original file line number Diff line number Diff line change 329
329
(is (= " #{:public}" (:modifiers individual)))))
330
330
331
331
(testing " Boot support"
332
- (try
333
- (System/setProperty " fake.class.path" (System/getProperty " java.class.path" ))
334
- (let [response (session/message {:op " info" :sym " as->" :ns " user" })]
335
- (is (= #{" done" } (:status response))
336
- (pr-str response))
337
- (is (= " clojure.core" (:ns response)))
338
- (is (= " as->" (:name response)))
339
- (is (= " [expr name & forms]" (:arglists-str response)))
340
- (is (= " true" (:macro response)))
341
- (is (-> response ^String (:doc ) (.startsWith " Binds name to expr, evaluates" ))))
342
- (finally
343
- (System/clearProperty " fake.class.path" ))))
332
+ (let [response (session/message {:op " info" :sym " as->" :ns " user" })]
333
+ (is (= #{" done" } (:status response))
334
+ (pr-str response))
335
+ (is (= " clojure.core" (:ns response)))
336
+ (is (= " as->" (:name response)))
337
+ (is (= " [expr name & forms]" (:arglists-str response)))
338
+ (is (= " true" (:macro response)))
339
+ (is (-> response ^String (:doc ) (.startsWith " Binds name to expr, evaluates" )))))
344
340
345
341
(testing " get protocol info"
346
342
(let [reply (session/message {:op " info"
You can’t perform that action at this time.
0 commit comments