Skip to content

Commit 4fb7270

Browse files
committed
comment out compile cases fornow
1 parent 77f3917 commit 4fb7270

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎src/test/cljs/cljs/core_test.cljs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2034,11 +2034,13 @@
20342034
:e 5
20352035
::x 10000
20362036
:nested {:aa 1 'saa 10}}]
2037-
(testing "error cases"
2038-
(is (thrown? Exception (eval '(selector {:keys [a b]}))))
2039-
(is (thrown? Exception (eval '(selector sample-map))))
2040-
(is (thrown? Exception (eval '(selector nil))))
2041-
(is (thrown? Exception (eval '(selector {})))))
2037+
2038+
;; these are compile time
2039+
#_(testing "error cases"
2040+
(is (thrown? js/Error (selector {:keys [a b]})))
2041+
(is (thrown? js/Error (selector sample-map)))
2042+
(is (thrown? js/Error (selector nil)))
2043+
(is (thrown? js/Error (selector {}))))
20422044

20432045
(testing "single directives return their values directly"
20442046
(let [ex1 (selector {:keys [a b & :c :z]

0 commit comments

Comments
 (0)