We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f93af commit df4a48bCopy full SHA for df4a48b
src/test/cljs/cljs/lite_collections_test.cljs
@@ -28,6 +28,14 @@
28
(= 1 (aget (clj->js (obj-map :x 1)) "x"))
29
(= 1 (aget (clj->js {:x 1}) "x")))
30
31
+(deftest test-unchanged-identical?
32
+ (let [m (obj-map :foo 1)]
33
+ (identical? m (assoc m :foo 1)))
34
+ (let [m (simple-hash-map :foo 1)]
35
36
+ (let [s (simple-set [:foo])]
37
+ (identical? s (conj s :foo))))
38
+
39
(comment
40
41
(require '[cljs.lite-collections-test] :reload)
0 commit comments