Skip to content

Commit a5178ca

Browse files
committed
uncomment test-refer-global test
1 parent 0564ab4 commit a5178ca

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/test/clojure/cljs/analyzer_tests.clj

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,16 +1566,11 @@
15661566
;; -----------------------------------------------------------------------------
15671567
;; :refer-global / :require-global ns parsing tests
15681568

1569-
#_(deftest test-refer-global
1569+
(deftest test-refer-global
15701570
(binding [ana/*cljs-ns* ana/*cljs-ns*]
15711571
(let [parsed-ns (env/with-compiler-env test-cenv
15721572
(analyze test-env
15731573
'(ns foo.core
1574-
(:refer-global [Date] :rename {Date MyDate}))))]
1575-
)))
1576-
1577-
(comment
1578-
1579-
(clojure.test/test-vars [#'test-refer-global])
1580-
1581-
)
1574+
(:refer-global :only [Date] :rename {Date MyDate}))))]
1575+
(= (:renames parsed-ns)
1576+
'{MyDate js/Date}))))

0 commit comments

Comments
 (0)