File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 (is (= {:a 2 } (conj {:a 0 } {:a 1 } {:a 2 })))
2525 (is (= [" a" " b" " c" [" d" " e" " f" ]] (conj [" a" " b" " c" ] [" d" " e" " f" ])))
2626
27- #?@(:cljs [(is (thrown? js/Error (conj \a \b)))
27+ #?@(:jank []
28+ :cljs [(is (thrown? js/Error (conj \a \b)))
2829 (is (thrown? js/Error (conj 1 2 )))
2930 (is (thrown? js/Error (conj :a :b )))
3031 (is (thrown? js/Error (conj {:a 0 } '(:b 1 ))))]
3435 (is (thrown? Exception (conj 1 2 )))
3536 (is (thrown? Exception (conj :a :b )))
3637 (is (thrown? Exception (conj {:a 0 } '(:b 1 ))))]))
38+
39+ (testing " meta preservation"
40+ (let [meta-data {:foo 42 }
41+ apply-meta #(-> % (with-meta meta-data) (conj [:k :v ]) meta)]
42+ (is (= meta-data (apply-meta {}) (apply-meta []) (apply-meta #{}) (apply-meta '())))))
3743
3844 (when-var-exists clojure.core/first
3945 (testing " first"
You can’t perform that action at this time.
0 commit comments