We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e3db85 commit 0e1f3d7Copy full SHA for 0e1f3d7
1 file changed
src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj
@@ -132,7 +132,7 @@
132
(is (= '(String/new "hello") (mexpand (String/new "hello"))))
133
(is (= '(String/.substring "hello" 1 3) (mexpand (String/.substring "hello" 1 3))))
134
(is (= '(String/.length "hello") (mexpand (String/.length "hello"))))
135
- (is (= '(Integer/parseInt "2") (mexpand (^[int] Integer/parseInt "2"))))
+ (is (= '(Integer/parseInt "2") (mexpand (r/read-string "(^[int] Integer/parseInt \"2\")"))))
136
137
(let [expanded (mexpand (Integer/parseInt "2"))]
138
(is (= '. (first expanded)))
0 commit comments