Skip to content

Commit ff1640e

Browse files
committed
test case for reported :lite-mode bug
1 parent e86a369 commit ff1640e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/cljs/cljs/lite_collections_test.cljs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
(is (= (simple-set [(MapEntry. 1 2 nil)])
2525
(set [(MapEntry. 1 2 nil)]))))
2626

27+
(deftest test-obj-map-clj->js
28+
(= 1 (aget (clj->js (obj-map :x 1)) "x"))
29+
(= 1 (aget (clj->js {:x 1}) "x")))
30+
2731
(comment
2832

2933
(require '[cljs.lite-collections-test] :reload)

0 commit comments

Comments
 (0)