Skip to content

Commit

Permalink
CLJS-3038: Improve error message when clojure.test.check is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude authored and swannodette committed Jan 25, 2019
1 parent 4d54c04 commit 90c9a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/cljs/cljs/spec/test/alpha.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ spec itself will have an ::s/failure value in ex-data:
(fn [sym]
(do `(check-1 '~sym nil nil ~opts-sym)))))])
(throw
(js/Error. (str "Require clojure.test.check and "
"clojure.test.check.properties before calling check.")))))))
(js/Error. (str "Require clojure.test.check "
"before calling check.")))))))

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

0 comments on commit 90c9a68

Please sign in to comment.