We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 269d281 commit 4e92777Copy full SHA for 4e92777
README.md
@@ -21,7 +21,7 @@ Stable:
21
- **Documentation:** http://funcool.github.io/cats/latest/
22
- **API reference:** http://funcool.github.io/cats/latest/api/
23
24
-## Tests
+### Tests
25
26
To run Clojure tests:
27
test/cats/monad/maybe_spec.cljc
@@ -160,7 +160,10 @@
160
(t/is (= 42 (maybe/maybe 42 n inc)))
161
(t/is (= 43 (maybe/maybe 42 j inc)))
162
(t/is (= 42 (maybe/maybe 42 n (throw (ex-info "shouldn't run" {})))))
163
- #?(:clj (t/is (thrown? java.lang.AssertionError 43 (maybe/maybe 42 :not-maybe-value inc))))))
+ (t/is (thrown?
164
+ #?(:clj java.lang.AssertionError
165
+ :cljs js/Error)
166
+ 43 (maybe/maybe 42 :not-maybe-value inc)))))
167
168
(t/deftest seq-conversion-test
169
(let [n (maybe/nothing)
0 commit comments