Skip to content

Commit c63cb2e

Browse files
dan suttonbbatsov
authored andcommitted
Fix last test failing on CI
Tests response from javadoc. Failing on java 11 expecting "https://docs.oracle.com/javase" for both java 8 and 11. On 11 have the following response: Clearly fine just bad prefix ``` {:javadoc "https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java.base/java/lang/StringBuilder.html#capacity()", :throws [], :file [], :arglists-str "[this]", :argtypes [], :member "capacity", :modifiers "#{:public :bridge :synthetic}", :status #{"done"}, :id "5174fd6d-4f65-4524-babb-07bc2ef2dcb3", :class "java.lang.StringBuilder", :returns "int", :session #{"b85884cb-3503-428c-8123-5c970dd08605"}} ```
1 parent 2f01d90 commit c63cb2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/clj/cider/nrepl/middleware/info_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
(is (= (:argtypes response) []))
159159
(is (= (:returns response) "int"))
160160
(is (= (:modifiers response) "#{:public :bridge :synthetic}"))
161-
(is (.startsWith (:javadoc response) "https://docs.oracle.com/javase")))
161+
(is (.startsWith (:javadoc response) "https://docs.oracle.com/")))
162162

163163
(if (SystemUtils/IS_JAVA_1_8)
164164
(testing "JDK 1.8 Javadoc URL style"

0 commit comments

Comments
 (0)