Skip to content

Commit 0e1f3d7

Browse files
committed
support for pre 1.12
1 parent 2e3db85 commit 0e1f3d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
(is (= '(String/new "hello") (mexpand (String/new "hello"))))
133133
(is (= '(String/.substring "hello" 1 3) (mexpand (String/.substring "hello" 1 3))))
134134
(is (= '(String/.length "hello") (mexpand (String/.length "hello"))))
135-
(is (= '(Integer/parseInt "2") (mexpand (^[int] Integer/parseInt "2"))))
135+
(is (= '(Integer/parseInt "2") (mexpand (r/read-string "(^[int] Integer/parseInt \"2\")"))))
136136

137137
(let [expanded (mexpand (Integer/parseInt "2"))]
138138
(is (= '. (first expanded)))

0 commit comments

Comments
 (0)