Skip to content

Commit 7fb24da

Browse files
committed
avoid key order issue
1 parent 149d182 commit 7fb24da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/cljs/cljs/proxy_test.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
(let [proxied (proxy {:foo 1 :bar 2})]
1919
(is (== 1 (gobj/get proxied "foo")))
2020
(is (== 2 (gobj/get proxied "bar")))
21-
(is (= ["foo" "bar"] (seq (Object/keys proxied))))))
21+
(is (= #{"foo" "bar"} (into #{} (Object/keys proxied))))))
2222

2323
(deftest vector-proxy
2424
(let [proxied (proxy [1 2 3 4])]

0 commit comments

Comments
 (0)