Skip to content

Commit 90c9a68

Browse files
borkdudeswannodette
authored andcommitted
CLJS-3038: Improve error message when clojure.test.check is not required
1 parent 4d54c04 commit 90c9a68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cljs/cljs/spec/test/alpha.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ spec itself will have an ::s/failure value in ex-data:
305305
(fn [sym]
306306
(do `(check-1 '~sym nil nil ~opts-sym)))))])
307307
(throw
308-
(js/Error. (str "Require clojure.test.check and "
309-
"clojure.test.check.properties before calling check.")))))))
308+
(js/Error. (str "Require clojure.test.check "
309+
"before calling check.")))))))
310310

311311
(defmacro ^:private maybe-setup-static-dispatch [f ret conform! arity]
312312
(let [arity-accessor (symbol (str ".-cljs$core$IFn$_invoke$arity$" arity))

0 commit comments

Comments
 (0)