File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
typed/clj.analyzer/test/typed_test/clj/analyzer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 212
212
(is (= 2 (:result
213
213
(chk `(do (ns ~(gensym 'foo))
214
214
(require '~'[clojure.core :as core])
215
- (assert (. startsWith (str (ns-name *ns*)) " foo" )
215
+ (assert (#?(:cljr .StartsWith :default . startsWith) (str (ns-name *ns*)) " foo" )
216
216
*ns*)
217
217
; (prn (ns-aliases *ns*))
218
218
; (println "foo ADSF")
329
329
(~'demunge " a" )))
330
330
nil )))
331
331
(is (thrown-with-msg?
332
- RuntimeException
332
+ #?( :cljr Exception :default RuntimeException)
333
333
#"" ; #"Unable to resolve symbol: demunge in this context"
334
334
(eval-in-fresh-ns `(let* []
335
335
(my-body (change-to-clojure-repl-on-eval )
342
342
(~'demunge " a" )))
343
343
nil )))
344
344
(is (thrown-with-msg?
345
- RuntimeException
345
+ #?( :cljr Exception :default RuntimeException)
346
346
#"" ; #"Unable to resolve symbol: demunge in this context"
347
347
(eval-in-fresh-ns `(let* []
348
348
(do (change-to-clojure-repl-on-eval )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments