We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda4b6b commit a411e1bCopy full SHA for a411e1b
test/clj/cider/nrepl/middleware/info_test.clj
@@ -8,6 +8,7 @@
8
[clojure.string :as str]
9
[clojure.test :refer :all]
10
[orchard.java]
11
+ [orchard.java.source-files]
12
[orchard.misc :as misc])
13
(:import
14
(cider.nrepl.test AnotherTestClass TestClass YetAnotherTest)
@@ -19,8 +20,7 @@
19
20
21
(def jdk-sources-present?
22
"Is Java sources files available on the classpath?"
- (boolean (or (io/resource "java/lang/Thread.java")
23
- (io/resource "java.base/java/lang/Thread.java"))))
+ (boolean (orchard.java.source-files/class->source-file-url Thread)))
24
25
(deftest format-response-test
26
(is (re-find #"^(https?|file|jar|zip):" ; resolved either locally or online
0 commit comments