Skip to content

Commit 1a4051f

Browse files
committed
missing Exception -> Error
1 parent 4fb7270 commit 1a4051f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2050,7 +2050,7 @@
20502050
(ex1 sample-map)))
20512051

20522052
(testing "checked keys without :missing should throw"
2053-
(is (thrown? Exception (ex1 (dissoc sample-map :d)))))
2053+
(is (thrown? js/Error (ex1 (dissoc sample-map :d)))))
20542054

20552055
(testing ":select with :or"
20562056
(let [ex1 (selector {:keys [a b & :c :z]

0 commit comments

Comments
 (0)