Skip to content

Commit 32e6e79

Browse files
committed
(WIP) More tests conditionalized to ClojureCLR
1 parent 60b0919 commit 32e6e79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

typed/clj.analyzer/test/typed_test/clj/analyzer/gilardi_test.clj renamed to typed/clj.analyzer/test/typed_test/clj/analyzer/gilardi_test.cljc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
(is (= 2 (:result
213213
(chk `(do (ns ~(gensym 'foo))
214214
(require '~'[clojure.core :as core])
215-
(assert (.startsWith (str (ns-name *ns*)) "foo")
215+
(assert (#?(:cljr .StartsWith :default .startsWith) (str (ns-name *ns*)) "foo")
216216
*ns*)
217217
;(prn (ns-aliases *ns*))
218218
;(println "foo ADSF")
@@ -329,7 +329,7 @@
329329
(~'demunge "a")))
330330
nil)))
331331
(is (thrown-with-msg?
332-
RuntimeException
332+
#?(:cljr Exception :default RuntimeException)
333333
#"" ;#"Unable to resolve symbol: demunge in this context"
334334
(eval-in-fresh-ns `(let* []
335335
(my-body (change-to-clojure-repl-on-eval)
@@ -342,7 +342,7 @@
342342
(~'demunge "a")))
343343
nil)))
344344
(is (thrown-with-msg?
345-
RuntimeException
345+
#?(:cljr Exception :default RuntimeException)
346346
#"" ;#"Unable to resolve symbol: demunge in this context"
347347
(eval-in-fresh-ns `(let* []
348348
(do (change-to-clojure-repl-on-eval)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy